(PHP 4 )
bool method_exists (object object, string method_name)
bool method_exists
This function returns TRUE if the method given by method_name has been defined for the given object, FALSE otherwise.