I would write this as `return !isClosed`.