§ 7707. Participation in environmental law or regulation. A person that successfully defends against an action under Chapter 83 (relating to participation in environmental law or regulation) shall be awarded reasonable attorney fees and the costs of litigation. If the person prevails in part, the court may make a full award or a proportionate award.