'check if the volume is created through cinder-backup workflow.
:param volume'

def is_volume_backup_clone(self, volume):

    vol_info = self.APIExecutor.get_vol_info(volume['name'])
    LOG.debug('is_clone:    %(is_clone)s    base_snap_id:    %(snap)s,    parent_vol_id:    %(vol)s', {'is_clone': vol_info['clone'], 'snap': vol_info['base_snap_id'], 'vol': vol_info['parent_vol_id']})
    if (vol_info['base_snap_id'] and (vol_info['parent_vol_id'] is not None)):
        LOG.debug('Nimble    base-snap    exists    for    volume    %(vol)s', {'vol': volume['name']})
        volume_name_prefix = volume['name'].replace(volume['id'], '')
        LOG.debug('volume_name_prefix    :    %(prefix)s', {'prefix': volume_name_prefix})
        snap_id = self.APIExecutor.get_snap_info_by_id(vol_info['base_snap_id'], vol_info['parent_vol_id'])
        snap_info = self.APIExecutor.get_snap_info_detail(snap_id['id'])
        LOG.debug('snap_info    description    %(snap_info)s', {'snap_info': snap_info['description']})
        if (snap_info['description'] and (BACKUP_VOL_PREFIX in snap_info['description'])):
            parent_vol_name = self.APIExecutor.get_volume_name(vol_info['parent_vol_id'])
            parent_vol_id = parent_vol_name.replace(volume_name_prefix, '')
            if ((BACKUP_VOL_PREFIX + parent_vol_id) in snap_info['description']):
                LOG.info('Nimble    backup-snapshot    exists    name=%(name)s', {'name': snap_info['name']})
                snap_vol_name = self.APIExecutor.get_volume_name(snap_info['vol_id'])
                LOG.debug('snap_vol_name    %(snap)s', {'snap': snap_vol_name})
                return (snap_info['name'], snap_vol_name)
    return ('', '')
