def available(name):
    cmd = '{0} get {1}'.format(_cmd(), name)
    if __salt__['cmd.retcode'](cmd) == 2:
        return False
    return True
Return True if the named service is available.
dataset/ETHPy150Open saltstack/salt/salt/modules/openbsdrcctl.py/available