demo_ref_callable2.py:
x = 5 print(callable(x))
➜ begtut>python demo_callable2.py
False