Are inherited 457(b) plans taxable

I inherited (named as a beneficiary) as a non-spouse beneficiary on a 457 DCP account, a portion of my cousin's 457 DCP,which I cashed out and used to purchase a home. Is the money I received from the 457 taxable income on my state and federal tax returns.