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