code: def discovery_view(self, message):
          
          for handler in self.registered_handlers:
              if handler.check(message):
                  return handler.view
  
          return None
docs: Use the new message to search for a registered view according
          to its pattern.