code: def get_status(self, hosts, services):
          
  
          if self.got_business_rule:
              mapping = {
                  0: u'OK',
                  1: u'WARNING',
                  2: u'CRITICAL',
                  3: u'UNKNOWN',
                  4: u'UNREACHABLE',
              }
              return mapping.get(self.business_rule.get_state(hosts, services), "n/a")
  
          return self.state
docs: Get the status of this host
  
          :return: "OK", "WARNING", "CRITICAL", "UNKNOWN" or "n/a" based on
                   service state_id or business_rule state
          :rtype: str