I didn't find a pretty way to know if the csrf_protection is disabled here. Have you an other workaround ?