Means for detecting the presence or absence of liquid