boolean (@NotNull PsiElement context, @NotNull String className) { return JavaPsiFacade.getInstance(context.getProject()).findClass(className, GlobalSearchScope.allScope(context.getProject())) != null; }