

def create_checkbox_field(self, field, options):
    return django.forms.BooleanField(**options)

dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailforms/forms.py FormBuilder.create_checkbox_field/original