Should be `isClosed()`, not `getIsClosed`.