code: func (c *ContextTemplateData) HasParamAndHeader(name string) bool {
  	if c.Params == nil || c.Headers == nil {
  		return false
  	}
  
  	headerAtt := c.Headers.Type.ToObject()[name]
  	headerName := codegen.GoifyAtt(headerAtt, name, true)
  	for paramName, paramAtt := range c.Params.Type.ToObject() {
  		paramName = codegen.GoifyAtt(paramAtt, paramName, true)
  		if headerName == paramName {
  			return true
  		}
  	}
  	return false
  }
docs: // HasParamAndHeader returns true if the generated struct field name for the given header name
  // matches the generated struct field name of a param in c.Params.