function isConnected() {
		try {
			return $this->connection->isOpen();
		} catch (SmtpException $ex) {
			$this->log('EOF caught while checking if connected', 'client');
			$this->close();
		}
		return false;
	}
function isConnected() {
		try {
			return $this->connection->isOpen();
		} catch (SmtpException $ex) {
			$this->log('EOF caught while checking if connected', 'client');
			$this->close();
		}
		return false;
	}
function isConnected ( ) { try { return $ this -> connection -> isOpen ( ) ; } catch ( SmtpException $ ex ) { $ this -> log ( 'EOF caught while checking if connected' , 'client' ) ; $ this -> close ( ) ; } return false ; }
returns whether or not a connection is open

@return boolean
returns whether or not a connection is open