Various arrangements for determining whether a liquid is in contact with a nebulizer element are disclosed. A nebulizer element may be energized with an electrical signal at a measurement frequency. An impedance of the nebulizer element may be measured, thereby obtaining a measured impedance value. The impedance value may be compared to a stored impedance value. Based on the comparison, it may be determined whether the liquid contacts the nebulizer element.