Added Indexer.isClosed() method

Added Indexer.isClosed() method and corresponding unit test