Ver originalfunction foo() { }var_dump(function_exists('foo')); // bool (true)var_dump(function_exists('bar')); // bool (false)