public function isConnected()
    {
        return ((bool) (is_resource($this->_connection)
                    && (get_resource_type($this->_connection) == 'oci8 connection'
                     || get_resource_type($this->_connection) == 'oci8 persistent connection')));
    }
public function isConnected()
    {
        return ((bool) (is_resource($this->_connection)
                    && (get_resource_type($this->_connection) == 'oci8 connection'
                     || get_resource_type($this->_connection) == 'oci8 persistent connection')));
    }
public function isConnected ( ) { return ( ( bool ) ( is_resource ( $ this -> _connection ) && ( get_resource_type ( $ this -> _connection ) == 'oci8 connection' || get_resource_type ( $ this -> _connection ) == 'oci8 persistent connection' ) ) ) ; }
Test if a connection is active

@return boolean
Test if a connection is active