def is_attached_console_visible():
 return IsWindowVisible(console_window_handle)

def is_attached_console_visible ( ) : return IsWindowVisible ( console_window_handle )
return true if attached console window is visible .