getEngine().getState() == Engine.IDLE
I found this inside slider when enabled.
The slider is only enabled (clickable) when the model is not running and not finished (i.e. in an "idle" state).
You can always read up on things like this in the help. Engine states are explained here, for example: