bool function_exists ( string $function_name )
Checks the list of defined functions, both built-in (internal) and user-defined, for function_name.
Returns TRUE if function_name exists and is a function, FALSE otherwise. Note: This function will return FALSE for constructs, such as include_once() and echo().