Peeks a string from the stream and checks whether it is the same as the given key.
The stream reader.
The key to compare against.
true if the upcoming characters in the stream match key, false otherwise.
See Implementation
Peeks a string from the stream and checks whether it is the same as the given key.