original_string: public function tableExists($table)
      {
          $result = $this->query("SHOW TABLES LIKE " . $this->pdo->quote($table));
          return $result->rowCount() > 0;
      }
code: public function tableExists($table)
      {
          $result = $this->query("SHOW TABLES LIKE " . $this->pdo->quote($table));
          return $result->rowCount() > 0;
      }
code_tokens: public function tableExists ( $ table ) { $ result = $ this -> query ( "SHOW TABLES LIKE " . $ this -> pdo -> quote ( $ table ) ) ; return $ result -> rowCount ( ) > 0 ; }
docstring: Check if a table already exists
  @param string $table
  @return bool
docstring_tokens: Check if a table already exists