For the purpose of performing the duties enjoined by this section the said superintendent and the proper officers of the said bureau of building inspection and their assistants may, at all reasonable hours, enter upon any of the lands within said city for the purpose of performing the duties herein required.
53 P.S. § 24876