The code enforcement officer or building official, or their designee, or any other person authorized to enforce this article, and any sworn officer of the sheriff's department shall be empowered to enter any property and structure at reasonable times to inspect the condition or work being performed thereon or therein.