It shall be the duty of the fire chief to inspect, or cause to be inspected by the
officers or members of the fire-rescue department, as often as may be necessary, all
buildings, premises and public thoroughfares, except the interior of private dwellings
(unless invited by the owner or occupant), for the purpose of ascertaining and causing
to be corrected any condition liable to cause fire, or any violation of the provisions
or intent of the laws of the city affecting fire hazards.