replace Tokens::compare with Token->equals

More handy to use it :)
We're missing an `@return bool` annotation here.