ON ATTEMPT TO INJURE. Whenever, in the presence or within the observation of a magistrate, an attempt is made by one person to inflict an injury upon himself or to the person or property of another, including the person or property of his spouse, it is his duty to use all lawful means to prevent the injury. This may be done, either by verbal order to a peace officer to interfere and prevent the