Should it appear to the satisfaction of the court at any time that any of the affidavits presented pursuant to § 15-6-56 are presented in bad faith or solely for the purpose of delay, the court shall forthwith order the party employing them to pay to the other party the amount of the reasonable expenses which the filing of the affidavits caused him to incur, including reasonable attorney's fees, and any offending party or attorney may be adjudged guilty of contempt.
SDCL 15-6-56(g)