If the boilies are shelf life then they will be ok, if they are in soak then all the better lol. The pelletts in bags should be ok and if the buckets have not been opened several times and got wet or damp then they should be ok too.
Because bait doesnt have a best before date on the bags what I do is write on the bag the day I first purchased them and the date I opened them. Its a start at least and I know what bait to use up first. Ive had some vitalin in a sealed plastic bucket since Sep 2007 and im still using it now, Ive also got some in its original bag inside a different bucket that I got in Jun 2008. I wont open that until the other one is used first. I do the same with pellets and boilies.