Flushes the stream if it's not closed and checks its error state.
Returns: true if the print stream has encountered an error, either on the underlying output stream or during a format conversion.
true
Diagram: Writer