examples/Client/CloudStorageService.php
public function tableExists($name)
    {
        $tables = $this->listTables();
        foreach ($tables as $tableName) {
            if ($tableName == $name) {
                return true;
            }
        }

        return false;
    }
public function tableExists($name)
    {
        $tables = $this->listTables();
        foreach ($tables as $tableName) {
            if ($tableName == $name) {
                return true;
            }
        }

        return false;
    }
public function tableExists ( $ name ) { $ tables = $ this -> listTables ( ) ; foreach ( $ tables as $ tableName ) { if ( $ tableName == $ name ) { return true ; } } return false ; }
Checks if a given table name exists or not.

@param string $name The table name.

@return bool
Checks if a given table name exists or not .