window_empty
window_empty ([window])
This function returns 1 (True) if the window identified by window contains an empty scratch document.
这对您有帮助吗?