Use isSymmetric function