The best way to tell is by the smell and appearance. If it has turned yellow or has an off odour or flavour, or if any mould appears it should be thrown away.