code: def _color(self, color, msg):
          
          if self.useColor:
              return '{0}{1}{2}'.format(color, msg, self.RESET_SEQ)
          else:
              return msg
docs: Converts a message to be printed to the user's terminal in red