Suppose you have a variable defined in Python. Now to verify this you can use type and callable.
a = 12
type(a) # prints int.
callable(a) # prints false as it is not a function
Now suppose you have a function defined in python. to verify this you can refer the following
def my_func():
print("Hello, World!")
type(my_func) # prints function
callable(my_func) # prints true as it is a function