Cgi.isClosed

bool isClosed() const

Is the output already closed?