check if token exists before revoking it