This constraint can be used to allow/prevent functionality from running, depending whether one or more apps are or are not currently running. Note that on Android 8+ due to restrictions you can only determine if the app is opened in foreground or not and not if it is actually running or not in the background.