'Returns an error if prerequisites aren\'t met.'

def check_for_setup_error(self):

    if (vmemclient is None):
        msg = _('vmemclient    python    library    not    found')
        raise exception.VolumeBackendAPIException(data=msg)
    LOG.info('CONCERTO    version:    %s', self.vmem_mg.version)
    if (not self._is_supported_vmos_version(self.vmem_mg.version)):
        msg = _('CONCERTO    version    is    not    supported')
        raise exception.ViolinInvalidBackendConfig(reason=msg)
