code: func IsDelayBindingMode(claim *v1.PersistentVolumeClaim, classLister storagelisters.StorageClassLister) (bool, error) {
  	className := v1helper.GetPersistentVolumeClaimClass(claim)
  	if className == "" {
  		return false, nil
  	}
  
  	class, err := classLister.Get(className)
  	if err != nil {
  		return false, nil
  	}
  
  	if class.VolumeBindingMode == nil {
  		return false, fmt.Errorf("VolumeBindingMode not set for StorageClass %q", className)
  	}
  
  	return *class.VolumeBindingMode == storage.VolumeBindingWaitForFirstConsumer, nil
  }
docs: // IsDelayBindingMode checks if claim is in delay binding mode.