Returns whether the stream is currently associated to a file.
Streams can be associated to files by a successful call to member open or directly on construction, and disassociated by calling close or on destruction.
The file association of a stream is kept by its internal stream buffer:
Internally, the function calls rdbuf()->is_open()
Parameters
none
Return Value
true if a file is open and associated with this stream object. false otherwise.