Version 2.2.3
matplotlib

matplotlib.axis.XAxis.have_units

XAxis.have_units()