Any party to an action filed under this chapter is entitled to make a motion seeking costs, expenses and interest for wholly insubstantial, frivolous or bad faith claims or defenses advanced by the opposing party during proceedings under this chapter as set forth in section 6F of chapter 231 and is also entitled to the rights of appeal afforded parties in a civil action following a decision on such motions as set forth in section 6G of said chapter 231.
Mass. Gen. Laws ch. 258D, § 6