Add ::isHook() to check if string is hook or not.
Use this function for core and extensions hooks.