Returns true if the scanner has reached the end of the file or text buffer.
true if the scanner has reached the end of the file or text buffer