code: def is_info_germline(rec):
      
      if hasattr(rec, "INFO"):
          status = rec.INFO.get("STATUS", "").lower()
      else:
          status = rec.info.get("STATUS", "").lower()
      return status == "germline" or status.find("loh") >= 0
docs: Check if a variant record is germline based on INFO attributes.
  
      Works with VarDict's annotation of STATUS.