def _filter_entrance_exam_grader(graders):
 if is_entrance_exams_enabled():
  graders = [grader for grader in graders if (grader.get('type') != u'Entrance Exam')]
 return graders

def _filter_entrance_exam_grader ( graders ) : if is_entrance_exams_enabled ( ) : graders = [ grader for grader in graders if ( grader . get ( 'type' ) != u'Entrance Exam' ) ] return graders
if the entrance exams feature is enabled we need to hide away the grader from views/controls like the grade as dropdown that allows a course author to select the grader type for a given section of a course .