It would be nice to convert underscored function names to use our standard camelcase syntax rather than the pythony underscore way:
    isEndOfTag, isStartOfTag, etc.