Diference between 401 an annuity

I cashed in a retirement account I had when working at a school. Is this a qualified retirement plan or non qualified annuity?