code: func (c *Config) HasCertAuth() bool {
  	return (len(c.TLS.CertData) != 0 || len(c.TLS.CertFile) != 0) && (len(c.TLS.KeyData) != 0 || len(c.TLS.KeyFile) != 0)
  }
docs: // HasCertAuth returns whether the configuration has certificate authentication or not.