My rule of thumb would be to go ahead and try it. Unless it’s a few years old, if it tastes all right then it should be good.
Here’s the thing to remember about plastic bags. Most of them are air permeable. That means that they will exchange air (and odors) through the membrane. Freezer bags are not air permeable, so if you are storing it next to something smelly, such as next to your onions or garlic cloves, you will want to use freezer bags or glass.