def RGQ_header_defined(vcf):
    """ Determine whether the RGQ annotation is defined in the FORMAT header of
    the vcf.
    """
    try:
        vcf.get_header_type('RGQ')
    except KeyError:
        return False
    else:
        return True
