Adds method for determining if the current context is a worker context

- Detects if the context passed in is a background context (not UI or Writer contexts)