code: def is_list_of_list(item):
      
      if (
          type(item) in (list, tuple)
          and len(item)
          and isinstance(item[0], (list, tuple))
      ):
          return True
      return False
docs: check whether the item is list (tuple)
      and consist of list (tuple) elements