'Internal assertion mechanism for CLI output.'

def _driver_assert(self, assert_condition, exception_message):

    if (not assert_condition):
        LOG.error(exception_message)
        raise exception.VolumeBackendAPIException(data=exception_message)
