Any party or parties who institute an action as a result of a peer review may be liable for court costs and reasonable attorney's fees, if the defendant substantially prevails and if the action, or the plaintiff's conduct during the litigation of the action, was frivolous, unreasonable, without foundation, or in bad faith.