Check if a variant record is germline based on INFO attributes.

    Works with VarDict's annotation of STATUS.

def is_info_germline(rec):
    """Check if a variant record is germline based on INFO attributes.

    Works with VarDict's annotation of STATUS.
    """
    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