Checks if this node contains the other node in its tree.
other
bool contains(Node other) => // descendants.any((descendant) => identical(descendant, other));