code: func TolerationsTolerateTaint(tolerations []v1.Toleration, taint *v1.Taint) bool {
  	for i := range tolerations {
  		if tolerations[i].ToleratesTaint(taint) {
  			return true
  		}
  	}
  	return false
  }
docs: // TolerationsTolerateTaint checks if taint is tolerated by any of the tolerations.