def is_monkey_patched(module):
    """Check if the specified module is currently patched

    Based entirely off the name of the module, so if you import a module some other way than with
    the import keyword (including import_patched), this might not be correct about that particular
    module

    :param module: module to check (moduble object itself, or its name str)
    :type module: module or str
    :return: True if the module is patched else False
    :rtype: bool
    """
    return already_patched in module or getattr(module, '__name__', None) in already_patched
dataset/ETHPy150Open veegee/guv/guv/patcher.py/is_monkey_patched/swapped operands of `in`