avoidsPatterns(w, patterns)
See avoidsPattern for more information on pattern avoidance.
i1 : p = permutation {3,1,2,5,4} o1 = Permutation{3, 1, 2, 5, 4} o1 : Permutation
i2 : avoidsPatterns(p, {{2,1,4,3}, {1,4,3,2}}) o2 = false
The object avoidsPatterns is a method function.