matplotlib.axes.Axes.is_transform_set

Axes.is_transform_set(self)

Return whether the Artist has an explicitly set transform.

This is True after set_transform has been called.