"Insurance" means a contract under which one undertakes to pay or indemnify another as to loss from certain specified contingencies or perils, to pay or grant a specified amount or determinable benefit or annuity in connection with ascertainable risk contingencies or to act as surety, except that the following types of contracts are not considered insurance: [1997, c. 592, §9 (RPR).]