boolean () { Throwable currentStack = new Throwable(); return ContainerUtil.exists(currentStack.getStackTrace(), stackElement -> stackElement.getClassName().equals(PsiImplUtil.class.getName()) && stackElement.getMethodName().equals("multiResolveImpl")); }