code: def is_cors_enabled_on_request(self, request: web.Request) -> bool:
          
  
          return self._request_resource(request) in self._resource_config
docs: Is `request` is a request for CORS-enabled resource.