boolean (@NotNull PsiElement element, @NotNull List<LineMarkerInfo<?>> lineMarkers) { final PsiElement separatorAnchor = PsiTreeUtil.getDeepestFirst(element); final LineMarkerInfo<?> marker = ContainerUtil.find(lineMarkers, maker -> maker.getElement() == separatorAnchor); return marker != null && marker.separatorPlacement != null; }