something like:

```
ax = self.axes._info_axis
if ax.is_unique:
    # do what you are doing
else:
    return all(array_equivalent(self.iget(i).values, other.iget(i).values) for i, col in enumerate(ax))
```