function endHelperName(seen) {
        return (/\s$/).test(seen) || StringUtils.endsWith(seen, "}");
    }
Utility function used to detect the end of a helper name when scanning a series of text.
The end of a helper name is signalled by a space character or the `}`
@param   {string}  seen The string seen so far
@returns {boolean} True when the end of a helper name has been detected.