# xarray.DataTree.same_tree

#### DataTree.same_tree(other)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/treenode.py#L665-L667)

True if other node is in the same tree as this node.
