Version 2.2.4
matplotlib

matplotlib.axis.YAxis.get_visible

YAxis.get_visible()

Return the artist's visiblity