isOpen and isClosed