def swapoff(name):
    on_ = swaps()
    if name in on_:
        if __grains__['os'] != 'OpenBSD':
            __salt__['cmd.run']('swapoff {0}'.format(name), python_shell=False)
        else:
            __salt__['cmd.run']('swapctl -d {0}'.format(name),
                                python_shell=False)
        on_ = swaps()
        if name in on_:
            return False
        return True
    return None
Creates effect specification for poison
dataset/ETHPy150Open saltstack/salt/salt/modules/mount.py/swapoff--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/cutesy/dictionary.py/potent_poison