def __virtual__():
    if salt.utils.is_windows() and _HAS_MODULE_DEPENDENCIES:
        return __virtualname__
    return False
Only works on Windows systems.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_smtp_server.py/__virtual__