code: func (d *Discovery) shouldWatch(name string, tags []string) bool {
  	return d.shouldWatchFromName(name) && d.shouldWatchFromTags(tags)
  }
docs: // shouldWatch returns whether the service of the given name should be watched.