'Returns whether a user has any answers for a given SurveyForm for a course
This can be used to determine if a user has taken a CourseSurvey.'

@classmethod
def do_survey_answers_exist(cls, form, user):

    if user.is_anonymous():
        return False
    return SurveyAnswer.objects.filter(form=form, user=user).exists()
