Section 2. (a) A party aggrieved by the failure or refusal of another to proceed to arbitration under an agreement described in section one may apply to the superior court for an order directing the parties to proceed to arbitration. If the opposing party denies the existence of the agreement to arbitrate, the court shall proceed summarily to the determination of the issue so raised and shall, if it finds for the applicant, order arbitration; otherwise, the application shall be denied.
(b) Upon application, the superior court may stay an arbitration proceeding commenced or threatened if it finds that there is no agreement to arbitrate. Such an issue, when in substantial and bona fide dispute, shall be forthwith and summarily determined, and if the court finds for the applicant it shall order a stay of arbitration; otherwise the court shall order the parties to proceed to arbitration.
(c) 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 paragraph (a), the application shall be made therein, otherwise and subject to section seventeen, the application may be made in any court of competent jurisdiction.
(d) Any action or proceeding involving an issue subject to arbitration shall be stayed if an order for arbitration or an application therefor has been made under this section or, if the issue is severable, the stay may be with respect to such issue only. When the application is made in such action or proceeding, the order for arbitration shall include such stay.
(e) An order for arbitration shall not be refused on the ground that the claim in issue lacks merit or bona fides or because any fault or grounds for the claim sought to be arbitrated have not been shown.