question: private static boolean isInputExhausted ( StreamTokenizer input ) throws ParseError { try { if ( input . nextToken ( ) == StreamTokenizer . TT_EOF ) { return true ; } input . pushBack ( ) ; return false ; } catch ( IOException e ) { throw new ParseError ( e . getMessage ( ) ) ; } }
target:  Determines if the input is exhausted.