int ufoCheckInBackground(void);
ufoCheckInBackground checks if the main application is running in foreground mode (with interactive user interface) or in background mode (with no user interface).
May be called within any UFO user function
Autodesk Softimage v7.5