boolean (PsiClass psiClass) { for (TestFramework framework : TestFramework.EXTENSION_NAME.getExtensionList()) { if (framework.findSetUpMethod(psiClass) != null || framework.findTearDownMethod(psiClass) != null) return true; } return false; }