Tells whether the write buffer is closed or not.
public function isClosed() : bool { return !$this->open; }