If active window is on the main screen

SCREEN(0) == SCREENVISIBLE() ?

if how ?