Defibrillators will not deliver a shock if the patient has no heartbeat.
Not a lot of people evidently appear tp know that. You use CPR to get the heart moving and the defib unit decides itself, based upon the electrical signals it gets from the pads, whether a shock is appropriate.
Its not something that the user decides unless they are in a hospital.