code: def is_state(self, status):
          # pylint: disable=too-many-return-statements
          
          if status == self.state:
              return True
          # Now low status
          if status == 'o' and self.state == u'OK':
              return True
          if status == 'c' and self.state == u'CRITICAL':
              return True
          if status == 'w' and self.state == u'WARNING':
              return True
          if status == 'u' and self.state == u'UNKNOWN':
              return True
          if status == 'x' and self.state == u'UNREACHABLE':
              return True
          return False
docs: Return True if status match the current service status
  
          :param status: status to compare ( "o", "c", "w", "u", "x"). Usually comes from config files
          :type status: str
          :return: True if status <=> self.status, otherwise False
          :rtype: bool