boolean (@NotNull Project project) { for (String moduleName : IDEA_PROJECT_MARKER_MODULE_NAMES) { if (ModuleManager.getInstance(project).findModuleByName(moduleName) != null) { return true; } } return false; }