Electric Pole like system

Let’s say I have a boolean “ConnectedToGenerator”.
In picture A, I have all of the variables set to True, but if I disconnect 1 from 2 (like in picture B), how can I set both 2 and 3 to False?

Subsequent communications between BPs is the problem:

since 2 communicates with 1 and “sees” that it is disconnected but also it communicates with 3, it “sees” that it is connected and so it thinks it is indeed connected to the generator when it is not.

It’s kinda hard to explain exactely my problem though :confused:
It seems easy but it is not, or at least not for me.

I have no BPs to show as I tried a LOT of times with no success so I need to have a real solution before starting up again.