php.js : is_callable() function example
Returns true if the variable is callable.