IsGroupElement( obj )
IsGroupElement returns true if obj, which may be an object of
arbitrary type, is a group element, and false otherwise. The function
will signal an error if obj is an unbound variable.
gap> IsGroupElement( 10 );
false
gap> IsGroupElement( (11,10) );
true
gap> IsGroupElement( IdWord );
true
GAP 3.4.4