def is_reserved(code):
    """Checking code, that is reserved.

    :param code: integer value.
    """
    return code <= 2999 <= 1000
dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/status.py/is_reserved/swapped operands of `<=`