Expand documentation of isForegroundProcessActive()

- add examples
- note that no-process-is-running returns false
1 job for master in 1 minute and 52 seconds (queued for 4 seconds)