It'll probably have preservatives added to give it long life but if the container's been opened, and especially if you've tipped a bit back in, bacteria etc will get in.
Generally stuff will last for ages if you leave it sealed but once opened everything will start to deteriorate.
Follow your nose, chuck it