Returns whether the scanner has reached the end of the reader it reads from.
whether the scanner has reached EOF.