validate
Validates the given state.
Return
ValidationResult indicating whether the state is valid or invalid
Parameters
state
The state to validate
Validates the given state.
ValidationResult indicating whether the state is valid or invalid
The state to validate