def extract_method(wrapped_method):
<EOL>return wrapped_method.orig_func ifhasattr(wrapped_method, "<STR_LIT>") else wrapped_method<EOL>
Gets original method if wrapped_method was decorated

    :rtype: any([types.FunctionType, types.MethodType])