def usable(record):
    """ Helper function to determine if we can use a record

    We are only interested in protein coding exons.

    """
    return (record['feature'] == 'exon' and
            record['attribute']['transcript_biotype'] =='protein_coding')