On application, the court may stay an arbitration proceeding commenced or threatened on a showing that there is no agreement to arbitrate. Such an issue, when in substantial and bona fide dispute, shall be forthwith and summarily tried and the stay ordered if found for the moving party. If found for the opposing party, the court shall order the parties to proceed to arbitration.
If an issue referable to arbitration under the alleged agreement is involved in an action or proceeding pending in a court having jurisdiction to hear applications under § 21-25A-5, the application shall be made therein. Otherwise and subject to § 21-25A-34, the application may be made in any court of competent jurisdiction.
SDCL 21-25A-8