better docstring - what type should `course_id` be, what does `ignore_case` do, what is returned, is `None` returned (it is for `get_course` but not for `has_course`; the docstring should clarify this)