I'm not aware of a PING-style command in the APIs. If it is another vCenter or ESX host, you could potentially use some other query logic to verify availability, but it sounds like you need PowerCLI. With that, you can create PowerShell scripts that have VMware specific logic but can still leverage other PS functions, like Test-Connection.