Can be just `if(settings.csrfTokenName && settings.csrfToken)`