func (c *restConfig) HasCertAuth() bool {
	return len(c.CertData) != 0 || len(c.CertFile) != 0
}
func (c *restConfig) HasCertAuth() bool {
	return len(c.CertData) != 0 || len(c.CertFile) != 0
}
// HasCertAuth is a modified copy of k8s.io/kubernetes/pkg/client/transport.Config.HasCertAuth.
// HasCertAuth returns whether the configuration has certificate authentication or not.