bool is_open() const