def is_alt_genotype(record, name):
    sample = record.samples[name]
    indices = sample.allele_indices
    return bool(indices and -1 not in indices and indices.count(0) != len(indices))
dataset/ETHPy150Open bioinformed/vgraph/vgraph/match.py/is_alt_genotype/original