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