Upon presentation of proper credentials, the Building Commissioner, or his or her duly authorized representatives, may enter at reasonable times any building, structure or premises in the town to perform any duty imposed upon him or her by this code.