areElementsEqual