
    Write a function that determines if passenger counts at all checkpoints along a bus route match the target capacity threshold, helping identify routes operating at optimal efficiency. The function should take in a list of passenger counts from different checkpoints and a target capacity value, then verify if all checkpoints maintain this exact passenger level.
    

    
def check_element(list, element):
    """
    Write a function that determines if passenger counts at all checkpoints along a bus route match the target capacity threshold, helping identify routes operating at optimal efficiency. The function should take in a list of passenger counts from different checkpoints and a target capacity value, then verify if all checkpoints maintain this exact passenger level.
    

    """
def check_element(list, element):
    """
    Write a function that determines if passenger counts at all checkpoints along a bus route match the target capacity threshold, helping identify routes operating at optimal efficiency. The function should take in a list of passenger counts from different checkpoints and a target capacity value, then verify if all checkpoints maintain this exact passenger level.
    

    """
    check_element = all((v == element for v in list))
    return check_element