isBackground()

Returns true if the action is enqueued in the background, false if it’s enqueued in the foreground.

isBackground()

Type: Boolean Returns true if the action is enqueued in the background.