isHermezAccountIndex function
Checks if given string matches regex of a Hermez account index @param {String} test @returns {Boolean}
Implementation
bool isHermezAccountIndex(String? test) {
if (test != null && accountIndexPattern.hasMatch(test)) {
return true;
}
return false;
}