isBackground()

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

Signature 

isBackground()

Returns 

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