code: func (daemon *Daemon) DisconnectContainerFromNetwork(containerName string, networkName string, force bool) error {
  	container, err := daemon.GetContainer(containerName)
  	if err != nil {
  		if force {
  			return daemon.ForceEndpointDelete(containerName, networkName)
  		}
  		return err
  	}
  	return daemon.DisconnectFromNetwork(container, networkName, force)
  }
docs: // DisconnectContainerFromNetwork disconnects the given container from
  // the given network. If either cannot be found, an err is returned.