code: func IsVApp(client *govmomi.Client, rp string) bool {
  	_, err := FromID(client, rp)
  	if err != nil {
  		return false
  	}
  	return true
  }
docs: // IsVApp checks if a given managed object ID is a vApp. This is useful
  // deciding if a given resource pool is a vApp or a standard resource pool.