code: def _is_recarray(data):
      """
      Returns true if data is a recarray
      """
      if NP_LT_2:
          return isinstance(data, np.core.recarray)
      else:
          return isinstance(data, np.rec.recarray)
  
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 12 for calling a global function with example usage: _is_recarray(data) and returns: isinstance, isinstance