def toggle_stop(self, value=None):
    if (value is None):
        value = (not self.stopped)
    self.stopped = value
def toggle_stop(self, value=None):
    if (value is None):
        value = (not self.stopped)
    self.stopped = value