title: Check if elasticsearch index is open or closed
body: <p>Currently (v. 1.4.2) it is possible to check the <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-exists.html#indices-exists" rel="noreferrer">existence of an index</a> (although maybe not the ideally way), and to <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html" rel="noreferrer">close and open an index</a>. I don't see a way of checking if the index is opened or closed.</p>
  
  <p>The <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-status.html#indices-status" rel="noreferrer">status</a> call returns an "IndexClosedException" which falls more in an exception handling case instead of informational one that I'm looking for.</p>
  
  <p>How do you check this? Or is there another way to make a search without (possibly) passing an already closed index?</p>