determineState

abstract fun determineState(input: String): TextFieldState

This will determine the state of the field based on the text