title: Ping command in ioredis-Node JS
body: <p>Is there any way to check weather redis is available or terminated due to some issues before I am setting or getting a key ? How can I achieve that?</p>
  
  <p>I am using <code>ioredis</code> module.</p>