code: def is_stream_handler(self, request):
          
          handler = self.get(request)[0]
          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