def differs(splitop_a, splitop_b):
    """Check whether 2 consensus alignments differ."""
    if splitop_a.reference != splitop_b.reference:
        return True
    if splitop_a.code != splitop_b.code:
        return True
    if splitop_a.length != splitop_b.length:
        return True
    if splitop_a.sequence != splitop_b.sequence:
        return True
    return False