check for isClosed property