Callback to verify the response of the pinged server
typedef VerifyResponseCallback = bool Function(String response);