private static boolean hasSuitableModules(StructureConfigurableContext context, FacetType<?, ?> type) {
    for (Module module : context.getModules()) {
      if (type.isSuitableModuleType(ModuleType.get(module))) {
        return true;
      }
    }
    return false;
  }
private static boolean hasSuitableModules(StructureConfigurableContext context, FacetType<?, ?> type)