'Does the course include the xblock who\'s id is reference?'

def has_item(self, usage_key, **kwargs):

    store = self._get_modulestore_for_courselike(usage_key.course_key)
    return store.has_item(usage_key, **kwargs)
