def is_library(code):
    """Checking code, that is value, used by libraries.

    :param code: integer value.
    """
    return 3000 <= code <= 3999
dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/status.py/is_library/original