Represents an invariant that must hold true for a value in a particular state.
The type of value being validated
The type of state that this invariant applies to
Validates that the given value meets this invariant.