docs: public static boolean isWebModule(Container container) throws UnableToAdaptException {
          NonPersistentCache overlayCache = container.adapt(NonPersistentCache.class);
          if (overlayCache != null) {
              return overlayCache.getFromCache(WebModuleInfo.class) != null;
          }
          return false;
      }