

def installed(app_id):
    "\n    Check if a bundle ID or command is listed in assistive access.\n    This will not check to see if it's enabled.\n\n    app_id\n        The bundle ID or command to check installed status.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' assistive.installed /usr/bin/osascript\n        salt '*' assistive.installed com.smileonmymac.textexpander\n    "
    for a in _get_assistive_access():
        if (app_id == a[0]):
            return True
    return False

dataset/ETHPy150Open saltstack/salt/salt/modules/mac_assistive.py installed/original