GroupOps.IsTrivial( G )
GroupOps.IsTrivial returns true if G is the trivial group and
false otherwise.
Note that G is trivial if and only if the component generators of the
group record of G is the empty list. It is faster to check this than
to call IsTrivial.
GAP 3.4.4