Return if the node is the root node.
(self)
| 37 | self.parent_indices[parent].append(parent_index) |
| 38 | |
| 39 | def is_root(self): |
| 40 | """ |
| 41 | Return if the node is the root node. |
| 42 | """ |
| 43 | return len(self.parent_indices) == 0 |
| 44 | |
| 45 | def get_parent_indices(self): |
| 46 | return self.parent_indices |
no outgoing calls
no test coverage detected