original_string: public function is_fulltext_search_supported() {
          global $CFG;
  
          $sql = "SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')";
          $this->query_start($sql, null, SQL_QUERY_AUX);
          $result = sqlsrv_query($this->sqlsrv, $sql);
          $this->query_end($result);
          if ($result) {
              if ($row = sqlsrv_fetch_array($result)) {
                  $property = (bool)reset($row);
              }
          }
          $this->free_result($result);
  
          return !empty($property);
      }
code: public function is_fulltext_search_supported() {
          global $CFG;
  
          $sql = "SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')";
          $this->query_start($sql, null, SQL_QUERY_AUX);
          $result = sqlsrv_query($this->sqlsrv, $sql);
          $this->query_end($result);
          if ($result) {
              if ($row = sqlsrv_fetch_array($result)) {
                  $property = (bool)reset($row);
              }
          }
          $this->free_result($result);
  
          return !empty($property);
      }
code_tokens: public function is_fulltext_search_supported ( ) { global $ CFG ; $ sql = "SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')" ; $ this -> query_start ( $ sql , null , SQL_QUERY_AUX ) ; $ result = sqlsrv_query ( $ this -> sqlsrv , $ sql ) ; $ this -> query_end ( $ result ) ; if ( $ result ) { if ( $ row = sqlsrv_fetch_array ( $ result ) ) { $ property = ( bool ) reset ( $ row ) ; } } $ this -> free_result ( $ result ) ; return ! empty ( $ property ) ; }
docstring: Is fulltext search enabled?.
  
  @return bool
docstring_tokens: Is fulltext search enabled? .