def __virtual__():
    if salt.utils.is_darwin() and LooseVersion(__grains__['osrelease']) >= LooseVersion('10.9'):
        return True
    return False, 'The assistive module cannot be loaded: must be run on OSX 10.9 or newer.'
Only work on Mac OS
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_assistive.py/__virtual__