@decorators.memoize
def _cmd():
    service = salt.utils.which('service')
    if not service:
        raise CommandNotFoundError
    return service
On the server side of a connection, :py:obj:`Connection.get_session`
dataset/ETHPy150Open saltstack/salt/salt/modules/freebsdservice.py/_cmd--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ConnectionTests.test_server_get_session