def get_orig_function(f):
try:<EOL><INDENT>while True:<EOL><INDENT>f = f.__wrapped__<EOL><DEDENT><DEDENT>except AttributeError:<EOL><INDENT>return f<EOL><DEDENT>
Make use of the __wrapped__ attribute to find the original function
        of a decorated function.