The Tools_IsAppProcessServer() function returns whether the application is being run by the Process Server application.
Tools_IsAppProcessServer()
• None
A boolean value indicating whether the application is being run by the Process Server application. True indicates the application is being run by the Process Server; false indicates the application is being run by Dexterity or the runtime engine.