Could also write this as bool(request.GET.get('rewrite_url_links', 'True'))