code: func (r *Request) NamespaceIfScoped(namespace string, scoped bool) *Request {
  	if scoped {
  		return r.Namespace(namespace)
  	}
  	return r
  }
docs: // NamespaceIfScoped is a convenience function to set a namespace if scoped is true