IMO, I say throw it out. I don't know if it gets rancid like other oils over a period of time or not but if it's at least 6 years old, it's easy just to buy a new, fresh bottle. You would want unrefined, cold-pressed castor oil anyway. Plus you'll have peace of mind.