code: def is_nested_list_like(obj):
      """
      Check if the object is list-like, and that all of its elements
      are also list-like.
  
      .. versionadded:: 0.20.0
  
      Parameters
      ----------
      obj : The object to check
  
      Returns
      -------
      is_list_like : bool
          Whether `obj` has list-like properties.
  
      Examples
      --------
      >>> is_nested_list_like([[1, 2, 3]])
      True
      >>> is_nested_list_like([{1, 2, 3}, {1, 2, 3}])
      True
      >>> is_nested_list_like(["foo"])
      False
      >>> is_nested_list_like([])
      False
      >>> is_nested_list_like([[1, 2, 3], 1])
      False
  
      Notes
      -----
      This won't reliably detect whether a consumable iterator (e. g.
      a generator) is a nested-list-like without consuming the iterator.
      To avoid consuming it, we always return False if the outer container
      doesn't define `__len__`.
  
      See Also
      --------
      is_list_like
      """
      return (
          is_list_like(obj)
          and hasattr(obj, "__len__")
          and len(obj) > 0
          and all(is_list_like(item) for item in obj)
      )
  
file_path: catboost/contrib/python/pandas/py2/pandas/core/dtypes/inference.py
imports: from numbers import Number
  import re
  import numpy
  from pandas._libs import lib
  from pandas.compat import PY2, Set, re_type, string_and_binary_types, string_types, text_type
  from pandas import compat
label_desc: Use image node_id 10 for calling a global function with example usage: is_nested_list_like(obj) and returns: unknown