The deadline is implicitly checked, because only non-expired modes are returned from `CourseMode.mode_for_course`