code: func IsPreDefinedNetwork(network string) bool {
  	n := container.NetworkMode(network)
  	return n.IsBridge() || n.IsHost() || n.IsNone() || n.IsDefault()
  }
docs: // IsPreDefinedNetwork indicates if a network is predefined by the daemon