It is lawful for a superintendent, warden, or jailor, or his or her duly authorized agent, to require, as a condition of admission, a reasonable search as permitted by the Arkansas Constitution and the United States Constitution of the person or vehicle of anyone seeking admission to, or to visit in, the Department of Community Correction, jails, state institutions, or other places where persons are confined.