Deduction

I sold my home in 2019 and moved into a retirement community. I had to pay an Entrance Fee for apartment and pay monthly service fee. The Entrance Fee is for the right to live in apartment and is 90% refundable when I leave the apartment. Is there a way to take a deduction on federal taxes for the 10% of Entrance Fee that I have paid.