an attempt to rewrite getInputStatus to match Trevis rules