use ping to return true or false if camera is there or not