original_string: public function record_exists($table, array $conditions) {
          list($select, $params) = $this->where_clause($table, $conditions);
          return $this->record_exists_select($table, $select, $params);
      }
code: public function record_exists($table, array $conditions) {
          list($select, $params) = $this->where_clause($table, $conditions);
          return $this->record_exists_select($table, $select, $params);
      }
code_tokens: public function record_exists ( $ table , array $ conditions ) { list ( $ select , $ params ) = $ this -> where_clause ( $ table , $ conditions ) ; return $ this -> record_exists_select ( $ table , $ select , $ params ) ; }
docstring: Test whether a record exists in a table where all the given conditions met.
  
  @param string $table The table to check.
  @param array $conditions optional array $fieldname=>requestedvalue with AND in between
  @return bool true if a matching record exists, else false.
  @throws dml_exception A DML specific exception is thrown for any errors.
docstring_tokens: Test whether a record exists in a table where all the given conditions met .