def filter_h_v(coor_pair):
    """check if coor pair is going left or right.
    Also false where start coor == end coor

    Args:
        coor_pair (list of tuples)

    Returns:
        bool: True if coor is only vertical or horizontal travel
    """
    if ((coor_pair[0][0] == coor_pair[1][0]) ^
            (coor_pair[0][1] == coor_pair[1][1])):
        return True
    else:
        return False