You can express this more succinctly:

    return CorrectMap(self.answer_id, 'correct' if correct else 'incorrect')