Whenever it is necessary to make an inspection to enforce any of the provisions of or perform any duty imposed by the chapter or when there is reasonable cause to believe that there exists in any building or upon any premises any violation of the provisions of this chapter or of the Indiana Code, the animal control officer, health officer or police officeris authorized at all reasonable times to inspect the same for compliance with the provisions of this chapter, or any state law, provided that:
(A) If the property is occupied, the officer shall first present the proper credentials to the occupant and request entry explaining the reasons therefore;
(B) If the property is unoccupied, the officer shall make a reasonable effort to locate the owner or other persons having control of the property and request entry explaining the reasons therefore; and
(C) If the property owner, or his or her representative, is on site and objects to the inspection or cannot be located with reasonable effort, a valid warrant shall be required prior to inspection.