code: func AccessModesContains(modes []v1.PersistentVolumeAccessMode, mode v1.PersistentVolumeAccessMode) bool {
  	for _, m := range modes {
  		if m == mode {
  			return true
  		}
  	}
  	return false
  }
docs: // AccessModesContains returns whether the requested mode is contained by modes