isClosed method

bool isClosed()

Implementation

bool isClosed() {
  return _closed || !_peeked;
}