It shall be the duty of the fire department to inspect or cause to be inspected by the fire marshal, or members designated by the fire marshal, as often as necessary, but not less than twice a year in the commercial districts of the city, all buildings, premises, and public thoroughfares, for ascertaining and causing to be corrected any conditions liable to cause fire, or any violations of the provisions or intent of any ordinance of the city relating to a fire hazard.
(1996 Code, sec. 5.401)