bool is_callable ( mixed $var, string $mode [, bool $syntax_only = false [, string $callable_name ]] )
Verify that the contents of a variable can be called as a function. This can check that a simple variable contains the name of a valid function, or that an array contains a properly encoded object and function name.
Who needs copy/paste? Right. Writing code from scratch is fun!
More coming soon…keep checking back.