code: def is_array_like(obj):
      """
      Check if the object is array-like.
  
      For an object to be considered array-like, it must be list-like and
      have a `dtype` attribute.
  
      Parameters
      ----------
      obj : The object to check
  
      Returns
      -------
      is_array_like : bool
          Whether `obj` has array-like properties.
  
      Examples
      --------
      >>> is_array_like(np.array([1, 2, 3]))
      True
      >>> is_array_like(pd.Series(["a", "b"]))
      True
      >>> is_array_like(pd.Index(["2016-01-01"]))
      True
      >>> is_array_like([1, 2, 3])
      False
      >>> is_array_like(("a", "b"))
      False
      """
  
      return is_list_like(obj) and hasattr(obj, "dtype")
  
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 9 for calling a global function with example usage: is_array_like(obj) and returns: unknown