In Julia, what's the best way to determine whether an object is callable?  (E.g. is there an analog of python's callable function?)
EDIT: Here's what one could wish for:
f() = println("Hi")
x = [1,2,3]
a = 'A'
callable(f)    # => true
callable(x)    # => false
callable(a)    # => false
callable(sin)  # => true
 
     
     
    