Checks if the currently running app instance is a service.
app.IsService() → Boolean
Example - Check if App is Service
function OnStart()
{
var isSvc = app.IsService();
app.Alert( isSvc, "IsService" );
}
def OnStart():
isSvc = app.IsService()
app.Alert( isSvc, "IsService" )