def updatesContainNonUserSelectedItems():
    if not munki.munkiUpdatesContainAppleItems() and getAppleUpdates():
        # available Apple updates are not user selected
        return True
    install_info = getInstallInfo()
    install_items = install_info.get('managed_installs', [])
    removal_items = install_info.get('removals', [])
    filtered_installs = [item for item in install_items
                         if item['name'] not in user_install_selections]
    if filtered_installs:
        return True
    filtered_uninstalls = [item for item in removal_items
                           if item['name'] not in user_removal_selections]
    if filtered_uninstalls:
        return True
    return False
Solve a generalized eigenvalue problem.
dataset/ETHPy150Open munki/munki/code/apps/Managed Software Center/Managed Software Center/MunkiItems.py/updatesContainNonUserSelectedItems--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_decomp.py/eigenhproblem_general