code: func DetachedTokenIsValid(detachedToken, content, tokenID, tokenSecret string) bool {
  	newToken, err := computeDetachedSig(content, tokenID, tokenSecret)
  	if err != nil {
  		return false
  	}
  	return detachedToken == newToken
  }
docs: // DetachedTokenIsValid checks whether a given detached JWS-encoded token matches JWS output of the given content and token