Every library established under the provisions of this part shall be free to the use of the inhabitants of the city or the county supporting such library. The board may exclude from the use of the library any and all persons who shall willfully violate the rules of the library. The board may extend the privileges and use of the library to persons residing outside of the city or county upon such terms and conditions as it may prescribe by its regulations.
§ 22-1-311, MCA