basic_ios::good

bool good() const;

The member function returns true if rdstate() == goodbit (no state flags are set).