Whenever any officer or employee of the town or of the state is required or authorized by statute, the provisions of this code, or any ordinance or rules and regulations or orders issued under this code, in order to carry out his or her duties under this code, to enter any premises or vehicle for the purpose of making an inspection or anything contained in such premises or inspection, such officer or employee shall have the right to enter any such premises or vehicle at any reasonable time in pursuance of such duties.
(1998 Code, § 1-16)