def is_child_of(self, node):
        p = self
        diff = self.height() - node.height()
        while diff > 0:
            diff -= 1
            p = p.parent
        return id(p) == id(node)
does this node belong to the subtree node
dataset/ETHPy150Open cournape/Bento/bento/core/node.py/Node.is_child_of