code: func CertOrKeyExist(pkiPath, name string) bool {
  	certificatePath, privateKeyPath := PathsForCertAndKey(pkiPath, name)
  
  	_, certErr := os.Stat(certificatePath)
  	_, keyErr := os.Stat(privateKeyPath)
  	if os.IsNotExist(certErr) && os.IsNotExist(keyErr) {
  		// The cert or the key did not exist
  		return false
  	}
  
  	// Both files exist or one of them
  	return true
  }
docs: // CertOrKeyExist returns a boolean whether the cert or the key exists