3ds check if in command line mode



is there a maxscript or python command for checking if 3ds Max is running in workstation mode or in cmd mode (3dsmaxcmd.exe), so i can prevent my custom startup UIs from show up?


There is IsNetServer() and the undocumented IsNetworkRenderServer()
Which I guess both do the same: report the mode 3ds Max is running in
From the docs:

Returns true if 3ds Max is operating in network rendering mode and false if operating in normal interactive mode.

the network rendering mode does’nt require a valid Max license to be active…