def rna_gene_in_bedpe(record):
    """
    Determine if one of the two candidates in a BEDPE line is an rna gene.

    :param BEDPE record: A BEDPE line from the input file
    :returns: True if one of the candidates is an RNA gene and False if not
    :rtype: bool
    """
    return 'RP11-' in record.hugo1
