@property
def stopped(self):
    'Return `True` if in one of the stopped states.'
    for status in ['aborted', 'finished']:
        if self.hasstatus(status):
            return True
Return `True` if in one of the stopped states.
@property
def stopped(self):
    
    for status in ['aborted', 'finished']:
        if self.hasstatus(status):
            return True