check if ping is pong