@property
    def next_sibling(self):
        """returns the next sibling to this one, or None"""
        if not self.parent:
            return None

        g = self.parent.children
        try:
            while True:
                child = g.next()
                if child >= self:
                    return g.next()
        except StopIteration:
            return None
dataset/ETHPy150Open manahl/mdf/mdf/viewer/frame.py/TreeNode.next_sibling/operator `==` -> `>=`