(1) As used in this section:
(a) "Golf course" means:
(i) a privately owned golf course that is located, in whole or in part, within municipal boundaries; or
(ii) a golf course located, in whole or in part, within municipal boundaries, that is owned by a county, municipality, or other governmental entity.
(b) "Maintenance operations" means mowing or trimming grass as part of the routine upkeep of golf course grounds.
(2) Except as provided in Subsection (3), a municipality may not enact or enforce an ordinance that prohibits a golf course from conducting maintenance operations between the hours of 5:30 a.m. and 10 p.m.
(3) A municipality may prohibit or restrict maintenance operations at a golf course at any time if the golf course is owned by the municipality.