It shall be unlawful for any person, firm or corporation to leave outside of any building or dwelling in a place accessible to children any abandoned, unattended or discarded icebox, refrigerator or any other container of any kind which has an airtight snaplock or other device thereon without first removing the said snaplock or doors from said icebox, refrigerator or container.