def has_bad_allele(all_alleles):
    """Determine if the list of alleles contains an allele that is not one of T, C, G, A"""
    bad_allele = False
    for a in all_alleles:
        if len(a) != 1 or a not in 'TCGA':
            return True
    return False