Exactly. Provided that they weren't stored under adverse conditions, they are perfectly safe to take. As kokaino mentioned, there is a chance that some of the potency has been lost, but there is also a chance that only a very small amount of potency has been lost. I've taken ten year old Vicodins before that felt just like they should have (they were stored a cool, dry place).