import re


def is_heterozygous(record):
    """Given a single GFF record, determine if it is a heterozygous variant.
    Simply does a regex match for '/'."""
    return re.search('/', record.attributes['alleles'])