verifyState

abstract suspend fun verifyState(state: String): Unit

Verifies state and throws exceptions if it’s not valid