@property
def status(self):
    'Check trial status\n        Possible statuses: finished, unfinished, backup'
    if (not self.run):
        return 'backup'
    return ('finished' if self.finished else 'unfinished')
Check trial status
Possible statuses: finished, unfinished, backup
@property
def status(self):
    'Check trial status\n        Possible statuses: finished, unfinished, backup'
    if (not self.run):
        return 'backup'
    return ('finished' if self.finished else 'unfinished')