def is_debug_active():
    if 'DEBUG' in os.environ:
        if os.environ['DEBUG'].lower() in ( '1', 'true' ):
            return True
    return False
dataset/ETHPy150Open mogui/pyorient/pyorient/utils.py/is_debug_active/original