Version 2.2.2
matplotlib

matplotlib.axis.XAxis.have_units

XAxis.have_units()