How to check whether demolition brick is safe to use?
You would need to send samples to a chemical analysis laboratory to get a more definitive answer, but the brick was likely never in direct contact with the chemicals and after 10 years I would expect they off gassed anything they might have picked up. If you don’t  notice an unusual smell from them, they are probably fine.