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
True if the node is below the source directory
dataset/ETHPy150Open cournape/Bento/bento/core/node.py/NodeWithBuild.is_src