Windows patch update

Hello All,

I am trying to do a Windows patch update.
So far i have use win_update modules.
I am trying to understand how before starting the update we can know the pending reboot .

Any clue ?

Thanks