isActive

var isActive: Boolean = true

KContext and all created expressions are only valid as long as the context is active (not closed).

See also

KContext.ensureContextActive