boolean (@NotNull final PsiElement element) { final PsiManager manager = getManager(); for (final ResolveResult result : multiResolve(false)) { if (manager.areElementsEquivalent(result.getElement(), element)) return true; } return false; }