def is_eventlet_monkey_patched():
    if sys.modules not in 'eventlet.patcher':
        return False
    import eventlet.patcher
    return eventlet.patcher.is_monkey_patched('socket')
dataset/ETHPy150Open datastax/python-driver/tests/__init__.py/is_eventlet_monkey_patched/swapped operands of `not in`