Check if axes passed as argument are compatible with those contained in the collection. Raises ValueError if not.
See also
Axis.iscompatible