public function hasDatabase($database) { return in_array($database, $this->connection->getSchemaManager()->listDatabases()); }