System, method and device for detecting tannins in a liquid