code: @Override
      public boolean isWrapperFor(ServletResponse wrapped) {
          final ServletResponse response = getHttpServletResponse();
  
          if (response == wrapped) {
              return true;
          } else if (response instanceof ServletResponseWrapper) {
              return ((ServletResponseWrapper) response).isWrapperFor(wrapped);
          } else {
              return false;
          }
      }
docs: /*
  (non-Javadoc)
  
  @see javax.servlet.ServletResponseWrapper#isWrapperFor(javax.servlet.ServletResponse)