Version 2.2.3
matplotlib

matplotlib.axes.Axes.get_visible

Axes.get_visible()

Return the artist's visiblity