original_string: public static function checkTableExists(string $tableName): bool
    {
      $query = sprintf('
  select 1
  from   information_schema.TABLES
  where table_schema = database()
  and   table_name   = %s', self::$dl->quoteString($tableName));
  
      return !empty(self::executeSingleton0($query));
    }
code: public static function checkTableExists(string $tableName): bool
    {
      $query = sprintf('
  select 1
  from   information_schema.TABLES
  where table_schema = database()
  and   table_name   = %s', self::$dl->quoteString($tableName));
  
      return !empty(self::executeSingleton0($query));
    }
code_tokens: public static function checkTableExists ( string $ tableName ) : bool { $ query = sprintf ( '
  select 1
  from   information_schema.TABLES
  where table_schema = database()
  and   table_name   = %s' , self :: $ dl -> quoteString ( $ tableName ) ) ; return ! empty ( self :: executeSingleton0 ( $ query ) ) ; }
docstring: Checks if a table exists in the current schema.
  
  @param string $tableName The name of the table.
  
  @return bool
docstring_tokens: Checks if a table exists in the current schema .