MDL-40723 use will_have_course_capability() to verify future course creator capabilities when creating courses