Any water bailiff, the county commissioners, road overseers and city officers, within their respective counties, districts, cities and towns, upon complaint of any person concerning any artesian well, that the person controlling the same is wont to suffer the waters thereof to unnecessarily run to waste therefrom, or has in any respect violated this act, may at any reasonable hour of the day or night enter upon any premises where such well is situated, for inspecting the same, and for ascertaining whether there is sufficient cause for such complaint, and in order to institute or cause to be instituted criminal prosecutions for any violation of this act. And every person sinking or boring for an artesian well upon his own land, or suffering others so to do, shall be deemed in law to expressly license such entry of the officers aforenamed, or any of them, for the purpose of such inspection and examination.
K.S.A. 42-398