@pelson This should be order independent, so:
```python
if elements_arrays.viewkeys() != self._cmpt_structure.viewkeys():
```