boolean (PsiElement element, TestFramework framework) { Language frameworkLanguage = framework.getLanguage(); return frameworkLanguage == Language.ANY || element.getLanguage().isKindOf(frameworkLanguage); }