boolean (PsiElement element) { return element instanceof PsiWhiteSpace || element instanceof XmlText && element.getFirstChild() == element.getLastChild() && element.getFirstChild() instanceof PsiWhiteSpace; }