This function checks if a given list contains all the required elements specified in another list.
It allows for additional elements at any nesting level and prints out a message listing the missing settings, if any.
Usage
check_required_settings(required_list, actual_list, parent_key = "")
Arguments
- required_list
A list specifying the required elements.
- actual_list
A list to be checked against the required elements.
- parent_key
(Optional) A string used internally to track the full key path during recursion.
Default is an empty string.
Value
A list of missing elements, if any.