Ah! Some quick research shows my terminology was wrong. I am thinking of something called a hammer block. Pardon my confusion.
Yes. It prevents the hammer/firing pin from being bounced against a primer while in the “resting” position, but it is not a real “safety” in the usual sense of that term.
If you pull the trigger, and the chamber is loaded, the gun will go bang.