'Return True if given user can skip entrance exam for given course otherwise False.'

@classmethod
def user_can_skip_entrance_exam(cls, user, course_key):

    can_skip = False
    if is_entrance_exams_enabled():
        try:
            record = EntranceExamConfiguration.objects.get(user=user, course_id=course_key)
            can_skip = record.skip_entrance_exam
        except EntranceExamConfiguration.DoesNotExist:
            can_skip = False
    return can_skip
