def available(name):
    '''
    Returns ``True`` if the specified service is available, otherwise returns
    ``False``.

    CLI Example:

    .. code-block:: bash

        salt '*' service.available <service name>
    '''
    return name in get_all()
dataset/ETHPy150Open saltstack/salt/salt/modules/win_service.py/available/original