pieceIsCommutative