Checks if a method is registered using the in operator.
in
Example:
if ("key" in registry) { // Method is registered}