code: func (wire *Wire) isDone(pieces [][]byte) bool {
  	for _, piece := range pieces {
  		if len(piece) == 0 {
  			return false
  		}
  	}
  	return true
  }
docs: // isDone returns whether the wire get all pieces of the metadata info.