original_string: protected function tenantDatabaseExists(Website $website) : bool
      {
          try {
              $this->connection->set($website);
  
              $schema = $this->connection->get()->getSchemaBuilder();
  
              if ($schema->hasTable($this->table)) {
                  return true;
              }
          } catch (\Exception $e) {
              // Suppress exception
          }
  
          return false;
      }
code: protected function tenantDatabaseExists(Website $website) : bool
      {
          try {
              $this->connection->set($website);
  
              $schema = $this->connection->get()->getSchemaBuilder();
  
              if ($schema->hasTable($this->table)) {
                  return true;
              }
          } catch (\Exception $e) {
              // Suppress exception
          }
  
          return false;
      }
code_tokens: protected function tenantDatabaseExists ( Website $ website ) : bool { try { $ this -> connection -> set ( $ website ) ; $ schema = $ this -> connection -> get ( ) -> getSchemaBuilder ( ) ; if ( $ schema -> hasTable ( $ this -> table ) ) { return true ; } } catch ( \ Exception $ e ) { // Suppress exception } return false ; }
docstring: Checks if tenant database exists.
  
  @param Website $website
  @return bool
docstring_tokens: Checks if tenant database exists .