def updatesRequireRestart():
    return len([item for item in getUpdateList()
                if 'Restart' in item.get('RestartAction', '')]) > 0
putcmd <command> [args]
dataset/ETHPy150Open munki/munki/code/apps/Managed Software Center/Managed Software Center/MunkiItems.py/updatesRequireRestart--crossover with--dataset/ETHPy150Open kdart/pycopia/net/pycopia/smtpCLI.py/EmailClientCLI.putcmd