IsSimpleGraph( gamma )
This boolean function returns true if and  only if the graph gamma is
simple, that is, has no loops and whenever [x,y]  is an edge  then so
is [y,x].
    gap> IsSimpleGraph( CompleteGraph( Group( (1,2,3) ), 3 ) );
    true
    gap> IsSimpleGraph( CompleteGraph( Group( (1,2,3) ), 3, true ) );
    false 
GAP 3.4.4