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

def get_orphans(self, course_key, **kwargs):

    with remove_ccx(course_key) as (course_key, restore):
        return restore(self._modulestore.get_orphans(course_key, **kwargs))
