Test whether standard input is running under layers. (Command name comes from "Is the multiplexor running?") Output is either yes (exit status 0) or no (exit status 1). Useful for shell scripts that send programs to a windowing terminal or depend on screen size.
Suppress output and return exit status only.
if ismpx -s then jwin fi