code: def has_na(eqdata):
      
      if isinstance(eqdata, pd.DataFrame):
          _values = eqdata.values
      else:
          _values = eqdata
      return len(_values[pd.isnull(_values)]) > 0
docs: Return false if `eqdata` contains no missing values.
  
      Parameters
      ----------
      eqdata : DataFrame or ndarray
          Data to check for missing values (NaN, None)
  
      Returns
      ----------
      answer : bool
          False iff `eqdata` contains no missing values.