Similar to Dave... I give it the prod test. If it's still powder, then it's probably Ok.
It's sold in both plastic and the old paper bags. More likely to last if it's the plastic.
Now for the science bit: it's "hygroscopic" which means it attracts water from the atmosphere. So it needs to be airtight.