def METHOD_NAME(self):
    if self.assigned and not self.accepted and not self.completed:
        return "assigned"
    elif self.assigned and self.accepted and not self.completed:
        return "accepted"
    elif self.assigned and not self.accepted and self.completed:
        return "declined"
    elif self.completed and not self.editor_reviewed:
        return "completed"
    elif self.completed and self.editor_reviewed:
        return "closed"
    else:
        return "unknown"