Returns true if other is the previous or next sibling of this node parent.
true
other
bool isConsecutiveNode(DOMNode other) { return isNextNode(other) || isPreviousNode(other); }