boolean (@NotNull PsiElement position) { PsiElement parent = position.getParent(); if (parent == null) return false; PsiElement prev = parent.getPrevSibling(); if (prev instanceof PsiWhiteSpace) prev = prev.getPrevSibling(); return prev != null && prev.getNode().getElementType() == EditorConfigElementTypes.SEPARATOR; }