hasFunction

Check if a custom function is registered.