Unify checking the response packet.