You can move this to line 13 - question.save will return a boolean true/false based on its success.