MCPcopy Create free account
hub / github.com/RingBDStack/GDAP / is_end_of_tree

Method is_end_of_tree

extraction/label_tree.py:54–55  ·  view source on GitHub ↗
(self, tree: Dict)

Source from the content-addressed store, hash-verified

52 self._end_symbol = end_symbol
53
54 def is_end_of_tree(self, tree: Dict):
55 return len(tree) == 1 and self._end_symbol in tree
56
57
58if __name__ == "__main__":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected