def _exit_if_none_detected(self):
        if len(self._plural) == 0:
            message = _('Feature not detected: %s') % (self._name)
            if self._last_attempt_successful:
                self._last_attempt_successful = False
                LOGGER.info(message)
            raise FeatureNotFoundException(message)
        else:
            if not self._last_attempt_successful:
                self._last_attempt_successful = True
                message = _('Feature detected: %s') % (self._name)
                LOGGER.info(message)