code: func VerifyAgainstWhitelist(tolerations []api.Toleration, whitelist []api.Toleration) bool {
  	if len(whitelist) == 0 {
  		return true
  	}
  
  	t := ConvertTolerationToAMap(tolerations)
  	w := ConvertTolerationToAMap(whitelist)
  
  	for k1, v1 := range t {
  		if v2, ok := w[k1]; !ok || !AreEqual(v1, v2) {
  			return false
  		}
  	}
  	return true
  }
docs: // VerifyAgainstWhitelist checks if the provided tolerations
  // satisfy the provided whitelist and returns true, otherwise returns false