course_key kwarg check for LocationBase