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