title: How to tell if sidekiq is connected to redis server?
body: <p>Using the console, how can I tell if sidekiq is connected to a redis server?  I want to be able to do something like this:</p>
  
  <pre><code>if (sidekiq is connected to redis) # psuedo code
    MrWorker.perform_async('do_work', user.id)
  else
    MrWorker.new.perform('do_work', user.id)
  end
  </code></pre>