@register.filter
def is_choice_field(value):
    try:
        return isinstance(value.field.widget, CheckboxInput)
    except __HOLE__:
        pass
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/helpers.py/is_choice_field