function hasPendingWorkScope hasPendingWorkScope(): boolean True when running inside a request context (i.e. a request). Return Type boolean