Searched refs:is_subtree (Results 1 – 2 of 2) sorted by relevance
89 elif is_subtree(child, node):100 def is_subtree(root, node): function103 return any(is_subtree(c, node) for c in root.children)