code: func IsTrytesOfMaxLength(trytes Trytes, max int) bool {
  	if len(trytes) > max || len(trytes) < 1 {
  		return false
  	}
  	match, _ := regexp.MatchString("^[9A-Z]+$", string(trytes))
  	return match
  }
docs: // IsTrytesOfMaxLength checks if input is correct trytes consisting of [9A-Z] and length <= maxLength