code: func (r *PCPRegistry) HasInstanceDomain(name string) bool {
  	r.indomlock.RLock()
  	defer r.indomlock.RUnlock()
  
  	_, present := r.instanceDomains[name]
  	return present
  }
docs: // HasInstanceDomain returns true if the registry already has an indom of the specified name