isInputPending DEMO

see developer console