code: func (daemon *Daemon) GetNetworksByIDPrefix(partialID string) []libnetwork.Network {
  	c := daemon.netController
  	if c == nil {
  		return nil
  	}
  	list := []libnetwork.Network{}
  	l := func(nw libnetwork.Network) bool {
  		if strings.HasPrefix(nw.ID(), partialID) {
  			list = append(list, nw)
  		}
  		return false
  	}
  	c.WalkNetworks(l)
  
  	return list
  }
docs: // GetNetworksByIDPrefix returns a list of networks whose ID partially matches zero or more networks