code: def _is_error(self):
          '''
          Is this is an error code?
  
          :return:
          '''
          if self.exit_code:
              msg = self.SUCCESS_EXIT_CODES.get(self.exit_code)
              if msg:
                  log.info(msg)
              msg = self.WARNING_EXIT_CODES.get(self.exit_code)
              if msg:
                  log.warning(msg)
  
          return self.exit_code not in self.SUCCESS_EXIT_CODES and self.exit_code not in self.WARNING_EXIT_CODEf _is_error(self):
          '''
          Is this is an error code?
  
          :return:
          '''
          if self.exit_code:
              msg = self.SUCCESS_EXIT_CODES.get(self.exit_code)
              if msg:
                  log.info(msg)
              msg = self.WARNING_EXIT_CODES.get(self.exit_code)
              if msg:
                  log.warning(msg)
  
          return self.exit_code not in self.SUCCESS_EXIT_CODES and self.exit_code not in self.WARNING_EXIT_CODES
docs: Is this is an error code?
  
          :return: