boolean (@NotNull Language language) { String myLangId = getLanguage(); if (myLangId == null || myLangId.isBlank() || "any".equals(myLangId)) return true; Set<String> languages = applicableToLanguages; if (languages == null) { applicableToLanguages = languages = ToolLanguageUtil.getAllMatchingLanguages(myLangId, applyToDialects()); } return languages.contains(language.getID()); }