4,161 questions
4,374 answers
5,729 comments
Try sending a getinfo command and see if you get back a legitimate response.