def installed(app_id):
    for a in _get_assistive_access():
        if app_id == a[0]:
            return True

    return False
Check if a bundle ID or command is listed in assistive access.
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_assistive.py/installed