How can I check whether a function is a function type in python?
I did this:
print(type(func_1))
python tells me that this is a
<class 'function'>
However, when I did this:
print(type(func_1) is function)
I got a NameError
NameError: name 'function' is not defined