def has_exec(cmd):
    return which(cmd) is not None
Take a normal form and return a subclass of that form that replaces all
dataset/ETHPy150Open saltstack/salt/salt/modules/cmdmod.py/has_exec--crossover with--dataset/ETHPy150Open pydanny/django-admin2/djadmin2/forms.py/floppify_form