Version 2.2.2
matplotlib

matplotlib.axis.YAxis.have_units

YAxis.have_units()