code: def check_for_reqd_cols(data, reqd_cols):
      
      missing = []
      for col in reqd_cols:
          if col not in data[0]:
              missing.append(col)
      return missing
docs: Check data (PmagPy list of dicts) for required columns