If I am in bankruptcy and have a federal tax refund coming can the government keep my refund to pay a prior years federal tax debt?

i am in bankruptcy  - i owe taxes to the government for prior years taxes.  can the government keep all of the tax return money i should receive?