Connection.isOpened

Checks whether a connection is open or not.

class Connection
bool
isOpened
()

Return Value

Type: bool

true if the connection is open, false if it's not.