travis-ci/travis-worker — comment on commit 99604df76181bec965af3f7ec79922ba37cf8050
File: lib/travis/worker/amqp.rb line 34
By michaelklishin:

To check if it is open, use AMQPConnection#isOpen (maybe with JRuby #open? will work, I am not sure)