code: def find_route_by_view_name(self, view_name):
          
          if not view_name:
              return (None, None)
  
          for uri, route in self.routes_all.items():
              if route.name == view_name:
                  return uri, route
  
          return (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
          :return: tuple containing (uri, Route)