code: func IsNameOnly(ref Named) bool {
  	if _, ok := ref.(NamedTagged); ok {
  		return false
  	}
  	if _, ok := ref.(Canonical); ok {
  		return false
  	}
  	return true
  }
docs: // IsNameOnly returns true if reference only contains a repo name.