code: static boolean canBeLoaded(Map<Class<? extends Extension>, Extension> extensions, Extension extension) {
          return canBeLoaded(extensions, extension, new ArrayList<>());
      }
docs: Relax visibility to ease the tests.