Return true if the widget and all of its ancestors up through the nearest toplevel window are mapped, false otherwise.
tkinter/Misc.winfo_viewable
Misc.winfo_viewable