In an action under this chapter, court costs and fees as set by law may be allowed to the prevailing party.