data/data_api.py
def is_driver(chat_id):
    """
    Checks whether a registered user is also a driver.
    :param chat_id: The chat_id to check.
    :return: True if the user is registered.
    """
    return chat_id in dt.drivers

    Checks whether a registered user is also a driver.
    :param chat_id: The chat_id to check.
    :return: True if the user is registered.
    
Checks whether a registered user is also a driver.
Checks whether a registered user is also a driver .
def is_driver(chat_id):
    return chat_id in dt.drivers
def is_driver ( chat_id ) : return chat_id in dt . drivers
Checks whether a registered user is also a driver.
Checks whether a registered user is also a driver .
"""
    Checks whether a registered user is also a driver.
    :param chat_id: The chat_id to check.
    :return: True if the user is registered.
    """
True if the user is registered.
True if the user is registered .
chat_id
The chat_id to check.
The chat_id to check .