Below is a reference for the properties exposed by the ARAP.ARAPCOM object:

IsScriptRunning

This read-only property of type "VARIANT_BOOL" returns "true" if ARAP is presently running a script.