def checkIfExist(bikes, bikeToCheck):
    """
    Function name: checkIfExist
    Description: Checks if the ID of the bike already exist in the object list.

    Arguments: 
        IN -- Bike list, bike object to check
        OUT -- Bike object if exists, False if does not exist
    """

    for bike in bikes:
        if bikeToCheck.id == bike.id:
            return bike

    return False