def _different_phases(row_i, row_j):
    """Return True if exon start or end phases are different."""
    value = (row_i['StartPhase'] != row_j['StartPhase']) or \
            (row_i['EndPhase'] != row_j['EndPhase'])
    return value