simplification of functions getInputStatus()