code: public function rollbackTransaction(): bool
      {
          if ($this->pdo === null) {
              $this->connect();
          }
  
          if ($this->pdo->inTransaction() === false) {
              return false;
          }
  
          return $this->pdo->rollBack();
      }
docs: @throws DatabaseException
  
  @return bool