private static function checkUrl($url)
    {
        $headers = get_headers($url);

        if ( ! Str::contains($headers[0], '200 OK')) {
            throw new Exception('Unable to download Maxmind\'s database. ('.substr($headers[0], 13).')');
        }
    }