def is_private(code):
    """Checking code, that is private code.

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