Men's room condom machines of that era were marked for prevention of disease only, lest someone seek sexual pleasure, i.e., have sex for entertainment purposes only.
For condom machines to be placed in the men's room was a time when the prevention of disease was taken seriously.