IsRegularGraph( gamma )
This boolean function returns true if and only if the graph gamma is
(out)regular.
gap> IsRegularGraph( JohnsonGraph(4,2) );
true
gap> IsRegularGraph( EdgeOrbitsGraph(Group(()),[[1,2]],2) );
false
GAP 3.4.4