Closed
Description
The following methods return optional iterators from a Tree:
- parents
- children
- path_to_root
- samples
The None variant is returned if the input node is not valid.
It would be more idiomatic/ergonomic to simply absorb the invalid
node and have the iterator immediately return None on the first advance.