InvolutionQ

InvolutionQ[p]
yields True if permutation p is its own inverse.

DetailsDetails