Test if text input is focussed