def METHOD_NAME(data):
    label = data.get("label", "")
    help_text = data.get("help", "")
    initial = data.get("value", False)
    widget = forms.CheckboxInput(attrs={'class':"ui checkbox"})
    field = forms.BooleanField(initial=initial, widget=widget, label=label, help_text=help_text, required=False)
    return field