code: private boolean isServletSpec31() {
          if (com.ibm.ws.webcontainer.osgi.WebContainer.getServletContainerSpecLevel() >= 31)
              return true;
  
          return false;
      }
docs: Check to see if running under servlet spec 3.1
  
  @return true if using servlet spec 3.1 and false otherwise