def _trans_host_state(self, state):
        if state == 0:
            return "ok"
        elif state == 1:
            return "down"
        else:
            return "unreachable"
Translate/validate Host state
dataset/ETHPy150Open Yelp/fullerite/src/diamond/collectors/icinga_stats/icinga_stats.py/IcingaStatsCollector._trans_host_state