def is_unicode(obj):
    if sys.version_info[0] <= 3:
        return isinstance(obj, unicode)
    else:
        return isinstance(obj, str)
dataset/ETHPy150Open mne-tools/mne-python/mne/externals/tempita/compat3.py/is_unicode/operator `<` -> `<=`