Detecting blast cap removal from C4
If a real expert suspects that an explosive device has anti handling enhancements they will not touch it. This includes cutting wires, shorting wires or pulling detonators/det cord primers out of charges.

You do not need electronics to detect detonator removal there is a device used in booby trapping called a comb switch this device can sense pull/push pressure applied or pressure removed, it contains its own detonator. It could be hidden within the charge and simple piece of nylon line would cause detonation if a detonator was pulled out.

Although interesting this has nothing to do with EE.

The usual approach to this type of device is to use an explosive disrupter which produces a hyper velocity water slug which scatters the device fast enough to prevent most of the main charge detonating.