code: func Contains(items []corev1.ResourceName, item corev1.ResourceName) bool {
  	for _, i := range items {
  		if i == item {
  			return true
  		}
  	}
  	return false
  }
docs: // Contains returns true if the specified item is in the list of items