@property
    def _dequeue_loop(self):
        if Worker.objects.filter(name=self.name, stop=True):
            raise StopRequested
        elif self._expires_after == None:
            return True
        elif self._expires_after < 0:
            raise StopRequested
        elif self._expires_after >= 0:
            self._expires_after -= 1
            return True
        else:
            return True
Handles the standard toggle event and emits the custom
dataset/ETHPy150Open bretth/django-pq/pq/worker.py/Worker._dequeue_loop--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_check_box.py/wxProperCheckBox.OnToggled