17.172.020: POWERS AND DUTIES:
   A.   The ordinance enforcement officer is authorized to inspect or cause to be inspected all buildings and structures in the course of construction, modification or repair and to inspect land uses to determine compliance with the provisions of this title; provided, however, that no such inspection shall be required as a condition precedent to commencement or continuation of any construction, modification or repair of a building or structure.
   B.   In the enforcement of this title authorized personnel shall have the right to enter any building for the purpose of determining the use thereof or to enter the premises for the purpose of determining compliance with the provisions of this title; provided, that such right of entry shall be exercised only at reasonable hours and that in no case shall entry be made to any occupied building in the absence of the owner or tenant thereof without the written order of a court of competent jurisdiction. (Ord. 07-30 § 2)