BigQuery/src/Dataset.php
public function exists()
    {
        try {
            $this->connection->getDataset($this->identity + ['fields' => 'datasetReference']);
        } catch (NotFoundException $ex) {
            return false;
        }

        return true;
    }
public function exists()
    {
        try {
            $this->connection->getDataset($this->identity + ['fields' => 'datasetReference']);
        } catch (NotFoundException $ex) {
            return false;
        }

        return true;
    }
public function exists ( ) { try { $ this -> connection -> getDataset ( $ this -> identity + [ 'fields' => 'datasetReference' ] ) ; } catch ( NotFoundException $ ex ) { return false ; } return true ; }
Check whether or not the dataset exists.

Example:
```
echo $dataset->exists();
```

@return bool
Check whether or not the dataset exists .