code: func NodeExists(id uint64, nodes []uint64) bool {
  	for _, nodeID := range nodes {
  		if nodeID == id {
  			return true
  		}
  	}
  	return false
  }
docs: // NodeExists returns trues if node id exists in the slice
  // and false otherwise