def updatesRequireLogout():
    if munki.installRequiresLogout():
        return True
    return len([item for item in getUpdateList()
                if 'Logout' in item.get('RestartAction', '')]) > 0
Return True if any item in the update list requires a logout or if
dataset/ETHPy150Open munki/munki/code/apps/Managed Software Center/Managed Software Center/MunkiItems.py/updatesRequireLogout