isRotation and isPermutation