Should I replace my bicycle tires if they have not been inflated in multiple years
If the bike has been hanging rather than sitting with weight on the tyres (and hence damaging the sidewalls), there is a good chance the tyres are still ok.

You can check the tyres by going around and looking for hairline cracks in the rubber and feeling if the rubber is brittle/flaky.

If they look ok then go ahead and inflate them and recheck the following day.  If they still show no obvious signs of damage then I would go ahead and ride them.