'See the docs for xmodule.modulestore.mixed.MixedModuleStore'

def has_course(self, course_id, ignore_case=False, **kwargs):

    with remove_ccx(course_id) as (course_id, restore):
        return restore(self._modulestore.has_course(course_id, ignore_case=ignore_case, **kwargs))
