_initiate_sse_stream() {
        // If the response has already been initiated, we cannot write headers anymore
        if (this._response.initiated) return false;

        // If we have already written headers, we cannot write again
        if (this.#wrote_headers) return false;
        this.#wrote_headers = true;

        // Write the headers for the SSE stream to the client
        this._response
            .header('content-type', 'text/event-stream')
            .header('cache-control', 'no-cache')
            .header('connection', 'keep-alive')
            .header('x-accel-buffering', 'no');

        // Return true to signify that we have written headers
        return true;
    }
@private
Ensures the proper SSE headers are written to the client to initiate the SSE stream.
@returns {Boolean} Whether the headers were written