Version 2.2.2
matplotlib

matplotlib.axis.Axis.have_units

Axis.have_units()