code: def is_stream_handler(self, request):
          
          try:
              handler = self.get(request)[0]
          except (NotFound, MethodNotSupported):
              return False
          if hasattr(handler, "view_class") and hasattr(
              handler.view_class, request.method.lower()
          ):
              handler = getattr(handler.view_class, request.method.lower())
          return hasattr(handler, "is_stream")
docs: Handler for request is stream or not.
          :param request: Request object
          :return: bool