code: func (r *RouteDefinition) Validate() *dslengine.ValidationErrors {
  	verr := new(dslengine.ValidationErrors)
  	if r.Parent == nil {
  		verr.Add(r, "missing route parent action")
  	}
  	return verr.AsError()
  }
docs: // Validate checks that the route definition is consistent: it has a parent.