'Get the required content for the course.
This takes into account if the user can skip the entrance exam.'

@staticmethod
def get_required_content(usage_info, block_structure):

    course_key = block_structure.root_block_usage_key.course_key
    user_can_skip_entrance_exam = EntranceExamConfiguration.user_can_skip_entrance_exam(usage_info.user, course_key)
    required_content = milestones_helpers.get_required_content(course_key, usage_info.user)
    if (not required_content):
        return required_content
    if user_can_skip_entrance_exam:
        entrance_exam_id = block_structure.get_xblock_field(block_structure.root_block_usage_key, 'entrance_exam_id')
        required_content = [content for content in required_content if (not (content == entrance_exam_id))]
    return required_content
