def _tup_equal(t1,t2):
    """Check to make sure to tuples are equal

    :t1: Tuple 1
    :t2: Tuple 2
    :returns: boolean equality

    """
    if t1 is None or t2 is None:
        return False
    return (t1[0] == t2[0]) and (t1[1] == t2[1])