Can I ping a spicific IP address in game?

Can I ping a spicific IP address in game?
I mean I had a server which has a static IP. I want to ping the server to know whether it is valid. Does UE4 has this function or I need to write it by myself?