isOpen method

Returns true if the connection is open, false otherwise.

Syntax
Boolean isOpen();