Determine if two CategoricalIndex objects contain the same elements.
If two CategoricalIndex objects have equal elements True, otherwise False.