def __virtual__():
    if salt.utils.is_windows():
        return __virtualname__
    return (False, "Module win_firewall: module only works on Windows systems")
Only works on Windows systems
dataset/ETHPy150Open saltstack/salt/salt/modules/win_firewall.py/__virtual__