It shall be unlawful for any person or persons, working in a mine or portion of a mine, which is worked by locked safety lamps or locked safety lamps and electric lamps, to carry into the mine matches, smokers' articles, or any other material or article which may cause fire. To prevent such articles being carried into a dangerous mine or section thereof, the mine foreman, when he sees fit, shall cause a search of the men for such articles.
52 P.S. § 70-277