original_string: public function isConnected()
      {
          return ((bool) (is_resource($this->_connection)
                      && (get_resource_type($this->_connection) == 'oci8 connection'
                       || get_resource_type($this->_connection) == 'oci8 persistent connection')));
      }
code: public function isConnected()
      {
          return ((bool) (is_resource($this->_connection)
                      && (get_resource_type($this->_connection) == 'oci8 connection'
                       || get_resource_type($this->_connection) == 'oci8 persistent connection')));
      }
code_tokens: public function isConnected ( ) { return ( ( bool ) ( is_resource ( $ this -> _connection ) && ( get_resource_type ( $ this -> _connection ) == 'oci8 connection' || get_resource_type ( $ this -> _connection ) == 'oci8 persistent connection' ) ) ) ; }
docstring: Test if a connection is active
  
  @return boolean
docstring_tokens: Test if a connection is active