Gio.IOStream.is_closed

### Method

# Gio IOStreamis_closed

since: 2.22

#### Declaration [src]

    gboolean
    g_io_stream_is_closed (
      GIOStream* stream
    )

#### Description [src]

Checks if a stream has been closed.

This only indicates whether the I/O stream has been closed at the top level by calling `g_io_stream_close()`. If the underlying input and output streams have been closed separately, this method will still return false.

Available since: 2.22

Gets property | `Gio.IOStream:closed`

#### Return value

Type: `gboolean`

True if the stream has been closed; false otherwise.