code: def get_method(self, name, entry_point, protocol):
          
  
          if name in self._registry and self._registry[name].is_valid_for(entry_point, protocol):
              return self._registry[name]
  
          return None
docs: Retrieve a method from the given name