2640. An arbitration agreement shall be evidenced in writing; it is deemed to be evidenced in writing if it is contained in an exchange of communications which attest to its existence or in an exchange of proceedings in which its existence is alleged by one party and is not contested by the other party.