public function isValidConnection($connection)
    {
        $connection = $this->credentials->sanitizeConnection($connection);
        $available = (array) $this->getAvailableConnections();

        return (bool) Arr::get($available, $connection->name.'.servers');
    }