Version 2.2.3
matplotlib

matplotlib.axes.Axes.can_zoom

Axes.can_zoom()

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