Section 13. Any inspector of the office of public safety and inspections of the division of professional licensure, if called upon by the aldermen of any city or by the selectmen of any town, shall inspect any building or other structure in such city or town, or anything attached to or connected therewith, which has been represented to be dangerous to life or limb.