(boundfield)
return isinstance(boundfield.field.widget, forms.CheckboxInput)
Return True if this field's widget is a CheckboxInput.
Return True if this field's widget is a CheckboxInput.
Return True if this field s widget is a CheckboxInput .
def is_checkbox(boundfield):
    """Return True if this field's widget is a CheckboxInput."""
    return isinstance(boundfield.field.widget, forms.CheckboxInput)
def is_checkbox ( boundfield ) : return isinstance ( boundfield . field . widget , forms . CheckboxInput )