'Check to see if an Entrance Exam is required for the user.'

def _reset_section_to_exam_if_required(self):

    if (not user_can_skip_entrance_exam(self.effective_user, self.course)):
        exam_chapter = get_entrance_exam_content(self.effective_user, self.course)
        if (exam_chapter and exam_chapter.get_children()):
            exam_section = exam_chapter.get_children()[0]
            if exam_section:
                self.chapter_url_name = exam_chapter.url_name
                self.section_url_name = exam_section.url_name
