pandas.MultiIndex.is_lexsorted

MultiIndex.is_lexsorted(self)bool[source]

Return True if the codes are lexicographically sorted.

Returns
bool