def delete(self, *args, **kwargs):
        if self.newsletter.active == False:
            self.newsletter.delete()
        super(Job, self).delete(*args, **kwargs)
List all segments that are not outsegs (that do not have any segments upstream).
dataset/ETHPy150Open allink/pennyblack/pennyblack/models/job.py/Job.delete--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfsfr2.py/ModflowSfr2._get_headwaters