TlsStream.isOpen

bool isOpen() @property const;

Returns

Whether the stream is open and handshake is complete.