Ask Your Question

Revision history [back]

This might be what you want

sage: G = libgap.SymmetricGroup(5)
sage: g = libgap.eval('(1,2,3)(4,5)')
sage: getattr(g, '\\in')(G)
true
sage: g = libgap.eval('(1,2,3)(4,5,6)')
sage: getattr(g, '\\in')(G)
false