code: func validateAttachRequired(attachRequired *bool, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	if attachRequired == nil {
  		allErrs = append(allErrs, field.Required(fldPath, ""))
  	}
  
  	return allErrs
  }
docs: // validateAttachRequired tests if attachRequired is set for CSIDriver.