Determine whether or not the pagelet thread we are executing on has finished and closed its output buffer
function pagelet_server_is_done(): bool;
bool