code: func IsDataURI(str string) bool {
  	dataURI := strings.Split(str, ",")
  	if !rxDataURI.MatchString(dataURI[0]) {
  		return false
  	}
  	return IsBase64(dataURI[1])
  }
docs: // IsDataURI checks if a string is base64 encoded data URI such as an image