Decides whether the token should be replaced using macro.