@cache_readonly(allow_setting=True)
    def is_unique(self):
        return self._engine.is_unique
return if the index has unique values
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.is_unique