Version 3.1.2
matplotlib

matplotlib.axis.XAxis.is_transform_set

XAxis.is_transform_set()

Return whether the Artist has an explicitly set transform.

This is True after set_transform has been called.