winfo ismapped

winfo ismapped window

Returns a boolean describing whether the Tk widget called window is mapped to the screen or not (e.g., iconified windows are not mapped). Because of the possibility of overlapping windows, this does not say whether window can actually be seen by the user.