Added is_tree()