explicitly convert the stringstream into a bool