code: func (r *Resource) isTopLevel() bool {
  	// TODO: This is a heuristic; replace with a definitive attribute?
  	return (r.Create != nil || r.Read != nil)
  }
docs: // Returns true if the resource is "top level" i.e. not a sub-resource.