isActive

abstract val isActive: Boolean (source)

Returns true when this job is active – it was already started and has not completed nor was cancelled yet. The job that is waiting for its children to complete is still considered to be active if it was not cancelled nor failed.

See Job documentation for more details on job states.