

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

dataset/ETHPy150Open saltstack/salt/salt/modules/mac_assistive.py enabled/VarMisuse@24/165 `app_id`->`a`