code: func checkAccessModes(claim *v1.PersistentVolumeClaim, volume *v1.PersistentVolume) bool {
  	pvModesMap := map[v1.PersistentVolumeAccessMode]bool{}
  	for _, mode := range volume.Spec.AccessModes {
  		pvModesMap[mode] = true
  	}
  
  	for _, mode := range claim.Spec.AccessModes {
  		_, ok := pvModesMap[mode]
  		if !ok {
  			return false
  		}
  	}
  	return true
  }
docs: // Returns true if PV satisfies all the PVC's requested AccessModes