Version 3.0.2
matplotlib

matplotlib.axes.Axes.can_zoom

Axes.can_zoom()

Return True if this axes supports the zoom box button functionality.