def match_status(self, status):
    'Check if trial statuses matches\n        '
    if (status == '*'):
        return True
    return (self.status == status)
Check if trial statuses matches
def match_status(self, status):
    '\n        '
    if (status == '*'):
        return True
    return (self.status == status)