Returns true if other is in the same parent of this node.
true
other
bool isInSameParent(T other) { var nodeParent = domGenerator.getNodeParent(node); return nodeParent != null && nodeParent == domGenerator.getNodeParent(other); }