If an action pursuant to § 21-10-1 is brought against an agricultural operation existing continuously, prior to the action, and which is located within one mile of the boundaries of the land use or occupancy of the plaintiff, and if the court finds there was no reasonable ground or cause for the action, the costs may be assessed to the plaintiff.
SDCL 21-10-25.1