Check if the tree is self mirror