def list_disabled():
    return __salt__['grains.get']('state_runs_disabled')
For comparing file modification times at a sufficient precision
dataset/ETHPy150Open saltstack/salt/salt/modules/state.py/list_disabled--crossover with--dataset/ETHPy150Open beetbox/beets/test/test_importadded.py/ImportAddedTest.assertEqualTimes