50-62-101. Entering of buildings for purpose of examination authorized. An officer of the state fire prevention and investigation section of the department of justice or the chief or chief's designee of a governmental fire agency organized under Title 7, chapter 33, where a fire agency is established at all reasonable hours may, as authorized by law, enter into all buildings and upon all premises within the officer's, chief's, or designee's jurisdiction for the purpose of determining whether the building or premises conforms to laws and rules relating to fire hazards and fire safety.