code: def is_preflight_request(self, request: web.Request) -> bool:
          
          route = self._request_route(request)
          if _is_web_view(route, strict=False):
              return request.method == 'OPTIONS'
          return route in self._preflight_routes
docs: Is `request` is a CORS preflight request.