'Checks whether the share exists'

def verify_share(self, pool, project, share):

    svc = (self.share_path % (pool, project, share))
    ret = self.rclient.get(svc)
    if (ret.status != restclient.Status.OK):
        exception_msg = (_('Error    Verifying    share:    %(share)s    on    Project:    %(project)s    and    Pool:    %(pool)s    Return    code:    %(ret.status)d    Message:    %(ret.data)s.') % {'share': share, 'project': project, 'pool': pool, 'ret.status': ret.status, 'ret.data': ret.data})
        LOG.error(exception_msg)
        raise exception.VolumeBackendAPIException(data=exception_msg)
