Let's move this check into the model to keep the controller thin.