Function

is-terminated

Check if the session is terminated. Returns true if the session has been terminated.

is-terminated: func() -> result​<bool, session-error>;