code: def empty_tree(input_list):
      
      for item in input_list:
          if not isinstance(item, list) or not empty_tree(item):
              return False
      return True
docs: Recursively iterate through values in nested lists.