code: def _is_array_like(endog, exog):
      try:  # do it like this in case of mixed types, ie., ndarray and list
          endog = np.asarray(endog)
          exog = np.asarray(exog)
          return True
      except:
          return False
  
file_path: statsmodels/statsmodels/tools/data.py
imports: from statsmodels.compat.numpy import NP_LT_2
  import numpy
  import pandas
label_desc: Use image node_id 10 for calling a global function with example usage: _is_array_like(endog, exog) and returns: True, False