Added function isIPalive