Make sure that the runtime hook id exists.
location to use for error messages
current scope
the hook identifier
what the hook does
what module the hook is located in
a bool indicating if the hook is present.
See Implementation
Make sure that the runtime hook id exists.