def licensed():
    cmd = r'cscript C:\Windows\System32\slmgr.vbs /dli'
    out = __salt__['cmd.run'](cmd)
    return 'License Status: Licensed' in out
Regression test for the use of None as a query value.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_license.py/licensed--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/tests/regressiontests/null_queries/tests.py/NullQueriesTests.test_none_as_null