code: func (dsw *desiredStateOfWorld) SnapshotExists(snapshotName string) bool {
  	dsw.RLock()
  	defer dsw.RUnlock()
  	_, snapshotExists := dsw.snapshots[snapshotName]
  
  	return snapshotExists
  }
docs: // Checks for the existence of the snapshot