Rental owner 'mistakens' deposit for spending money

Will tenant lose $2,500 security deposit in landlord's bankruptcy?