re-adding isClosed method after presumable merge clobber.