The show_material function is obsolete and now replaced by is_course_ready