isCDG w
A permutation $p$ is CDG if it avoids.
i1 : p = permutation {3,1,2,5,4} o1 = Permutation{3, 1, 2, 5, 4} o1 : Permutation
i2 : isCDG p o2 = true
The object isCDG is a method function.