code: public static boolean webContainerAvailable(final HttpService httpService) {
  		try {
  			return (WebContainer.class != null)
  					&& (httpService instanceof WebContainer);
  		} catch (NoClassDefFoundError ignore) {
  			return false;
  		}
  
  	}
docs: Verify if WebContainer (from Pax Web) is available.
  
  @param httpService http service instance to check
  @return true if WebContainer is available