Is this the preferred way to test MultiIndex equality?