hasAction

fun hasAction(state: Int, terminal: Int): Int