boolean (Project project) { if (myExternalProfile != null) { return ContainerUtil.exists(myExternalProfile.getAllEnabledInspectionTools(project), tool -> Language.findLanguageByID(tool.getTool().getLanguage()) instanceof InjectableLanguage); } return false; }