Alimony deduction — does it include court-ordered life insurance?

If there is a court order that a person pay for a life insurance policy with the ex-spouse as beneficiary, do the payments for the life insurance count as alimony for deduction purposes?