def is_object_patched(modname, objname):
 return (is_module_patched(modname) and (objname in saved[modname]))

def is_object_patched ( modname , objname ) : return ( is_module_patched ( modname ) and ( objname in saved [ modname ] ) )
check if an object in a module has been replaced with a cooperative version .