An easy check would be to see if the string content of the stream is empty or not:
#include
#include
int main(){
std::stringstream report_string;
report_string << ""; // an empty strin g
//emptiness check of stringstream
assert(report_string.str().empty());
}