isOnBackgroundThread

open fun isOnBackgroundThread(): Boolean

Returns true if called on a background thread, false otherwise.