def __virtual__():
    if salt.utils.is_darwin():
        return __virtualname__
    return False, 'Cannot load OSX desktop module: This is not an OSX host.'
Only load on Mac systems
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_desktop.py/__virtual__