code: func shouldWritePayload(payload map[string]FileProjection, oldTsDir string) (bool, error) {
  	for userVisiblePath, fileProjection := range payload {
  		shouldWrite, err := shouldWriteFile(filepath.Join(oldTsDir, userVisiblePath), fileProjection.Data)
  		if err != nil {
  			return false, err
  		}
  
  		if shouldWrite {
  			return true, nil
  		}
  	}
  
  	return false, nil
  }
docs: // shouldWritePayload returns whether the payload should be written to disk.