617.16  Frivolous actions.
  If a party commencing an action has in the preceding five-year period unsuccessfully prosecuted three or more actions, the court may, if it deems the actions to have been frivolous, stay the proceedings until that party furnishes an undertaking secured by cash or approved sureties to pay all costs resulting to opposing parties to the action including a reasonable attorney fee.
86 Acts, ch 1211, §36