Use function_exists() instead.