code: func (c *ContextTemplateData) MustValidate(name string) bool {
  	return c.Params.IsRequired(name) && !c.IsPathParam(name)
  }
docs: // MustValidate returns true if code that checks for the presence of the given param must be
  // generated.