The boards of education of cities of the first and second class and school boards of school districts are hereby required to provide for free dental inspection annually for all children, except those who hold a certificate from a legally qualified dentist showing that this examination has been made within three months last past, attending such schools.