Version 2.2.3
matplotlib

matplotlib.axis.YAxis.have_units

YAxis.have_units()