code: func (g *GenApp) UseModernMode() bool {
  	return g.GenOpts == nil || g.GenOpts.CompatibilityMode == "" || g.GenOpts.CompatibilityMode == "modern"
  }
docs: // UseModernMode for https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility