Returns true if no validation failure has been recorded.
Declared in <consensus/validation.h>
<consensus/validation.h>
bool IsValid() const;
true while the state is still valid.