Returns true if text is a complete statement or false otherwise.
text
typedef bool StatementValidator(String text);