def is_src(self):
        cur = self
        x = id(self._ctx.srcnode)
        y = id(self._ctx.bldnode)
        while cur.parent:
            if id(cur) == y:
                return False
            if id(cur) == x:
                return True
            cur = cur.parent
        return False
The handler for a QDockContainer widget.
dataset/ETHPy150Open cournape/Bento/bento/core/node.py/NodeWithBuild.is_src--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/qt/docking/layout_handling.py/_unplug_container