@decorators.memoize
def _check_imgadm():
    return salt.utils.which('imgadm')
Looks to see if imgadm is present on the system
dataset/ETHPy150Open saltstack/salt/salt/modules/smartos_imgadm.py/_check_imgadm