'Saves the asset metadata for a particular course\'s asset.
Args:
asset_metadata (AssetMetadata): data about the course asset data
user_id (int|long): user ID saving the asset metadata
import_only (bool): True if importing without editing, False if editing
Returns:
True if info save was successful, else False'

@contract(asset_metadata='AssetMetadata', user_id='int|long', import_only=bool)
def save_asset_metadata(self, asset_metadata, user_id, import_only=False):

    store = self._get_modulestore_for_courselike(asset_metadata.asset_id.course_key)
    return store.save_asset_metadata(asset_metadata, user_id, import_only)
