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