boolean (Project project) { return CachedValuesManager.getManager(project).getCachedValue(project, () -> CachedValueProvider.Result.create( FileTypeIndex.containsFileOfType(GroovyFileType.GROOVY_FILE_TYPE, GlobalSearchScope.projectScope(project)), PsiModificationTracker.MODIFICATION_COUNT)); }