Returns true if the script is running in EPM Workspace.
Example using isServerMode():
var blnWorkspace = env.isServerMode();