From Vincent:
What would be useful though is a while loop checking the shutter
status. If the A or B shutter are closed, one should stop the DCM /
BPM closed loop (overnight beam dump for instance).
I'm thinking monitoring the shutter status by using the pyepics callbacks and enabling/disabling the closed loop that way.