code: def find_route_by_view_name(self, view_name, name=None):
          
          if not view_name:
              return (None, None)
  
          if view_name == "static" or view_name.endswith(".static"):
              return self.routes_static_files.get(name, (None, None))
  
          return self.routes_names.get(view_name, (None, None))
docs: Find a route in the router based on the specified view name.
  
          :param view_name: string of view name to search by
          :param kwargs: additional params, usually for static files
          :return: tuple containing (uri, Route)