'Determine if the Cinder volume DB is empty.
A check of the volume DB is done to determine whether it is empty or
not at this point.
:param ctxt: our working context'

def _set_voldb_empty_at_startup_indicator(self, ctxt):

    if (not self.db):
        return False
    vol_entries = self.db.volume_get_all(ctxt, None, 1, filters=None)
    if (len(vol_entries) == 0):
        LOG.info('Determined    volume    DB    was    empty    at    startup.')
        return True
    else:
        LOG.info('Determined    volume    DB    was    not    empty    at    startup.')
        return False
