Returns true if the state was marked invalid by a consensus or policy rule.
Declared in <consensus/validation.h>
<consensus/validation.h>
bool IsInvalid() const;
true if the state is in the invalid mode.