3👍
Just some quick fooling around in the shell shows that the func_closure
attribute on a function is empty on undecorated functions, but contains data in decorated functions. Not 100% sure this is true all the time, but maybe this works out for you.
👤ojii
Source:stackexchange.com