@property
    def next_sibling(self):
        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
returns the next sibling to this one, or None
dataset/ETHPy150Open manahl/mdf/mdf/viewer/frame.py/TreeNode.next_sibling