code: def _is_using_ndarray(endog, exog):
      return isinstance(endog, np.ndarray) and (
          isinstance(exog, np.ndarray) or exog is None
      )
  
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 8 for calling a global function with example usage: _is_using_ndarray(endog, exog) and returns: unknown