def is_external_needrun_dep(j):
    g = self._group.get(j, None)
    return (self.needrun(j) and ((g is None) or (g != group)))
def is_external_needrun_dep(j):
    g = self._group.get(j, None)
    return (self.needrun(j) and ((g is None) or (g != group)))