Is content.get('locked, False) equivalent to TestMongoModuleStore.content_store.get_attr(content['_id'], 'locked', False)?