code: func (f URITemplateFormatChecker) IsFormat(input interface{}) bool {
  	asString, ok := input.(string)
  	if !ok {
  		return false
  	}
  
  	u, err := url.Parse(asString)
  	if err != nil || strings.Contains(asString, `\`) {
  		return false
  	}
  
  	return rxURITemplate.MatchString(u.Path)
  }
docs: // IsFormat checks if input is a correctly formatted URI template per RFC6570