statementLinter function
Returns a Boolean value of whether the formula fed-in, is valid.
Implementation
bool statementLinter(String formula) {
bool result = false;
if (astParser(formula) != 'NONE') {
result = true;
} else {}
return result;
}