def _decode_utf8(text):
    if not isinstance(text, unicode):
        return unicode(text, 'utf-8')
    else:
        return text
Decode from utf8 to Python unicode string.
dataset/ETHPy150Open john-kurkowski/tldextract/tldextract/remote.py/_decode_utf8