public static function isSupported(string $driver): bool
    {
        if ($driver === self::DRIVER_MONGO_DB) {
            return \extension_loaded('mongodb');
        }

        if ($driver === self::DRIVER_MONGO) {
            return \extension_loaded('mongo');
        }

        return false;
    }