def update_available(name):
    '''
    Check whether or not an update is available with a given name.

    :param str name: The name of the update to look for

    :return: True if available, False if not
    :rtype: bool

    CLI Example:

    .. code-block:: bash

       salt '*' softwareupdate.update_available <update-name>
       salt '*' softwareupdate.update_available "<update with whitespace>"
    '''
    return name in _get_available()
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_softwareupdate.py/update_available/original