def checkIfX(coordinate, x):
    """
    This function is a filter which return true if the first value of tuple is equal to x
    In : tuple : tuple to be tested
    In : x : float, The test value
    Out : Bool : Result of test 
    """
    if(coordinate[0][0] == x):
        return True
    else:
        return False