':return: Whether the first element of the frontier is a token
that has not yet been matched.
:rtype: bool'

def untried_match(self):

    if (len(self._rtext) == 0):
        return False
    tried_matches = self._tried_m.get(self._freeze(self._tree), [])
    return (self._rtext[0] not in tried_matches)
