Version 2.2.4
matplotlib

matplotlib.axis.YAxis.have_units

YAxis.have_units()