This command will return a one if the application has been switched out and back in.

Syntax: 
Return Integer=SCREEN INVALID()