4,178 questions
4,391 answers
5,755 comments
Try sending a getinfo command and see if you get back a legitimate response.