code: def _try_decode_utf8_content(self, content, content_type):
          
          if not self._auto_decode or not content:
              return content
          if content_type in self._decode_cache:
              return self._decode_cache[content_type]
          if isinstance(content, dict):
              content = self._try_decode_dict(content)
          else:
              content = try_utf8_decode(content)
          self._decode_cache[content_type] = content
          return content
docs: Generic function to decode content.
  
          :param object content:
          :return: