4,168 questions
4,381 answers
5,732 comments
Try sending a getinfo command and see if you get back a legitimate response.