@is_exec(value)


the predicate returns true if the argument represents an exec, that is, the instance of a compound action (e.g., the result of a process call or an object instantiation).

The predicate returns true even if the compound action has finished its computation. However, the exec itself used in a boolean condition evaluates to true if the compound action is still running and false elsewhere.