Skip to content

Is_remote_logged_in

Return whether the remote CLI has a usable authenticated session.

Parameters:

Name Type Description Default
validate_server bool

When true, also call the API to confirm the token is still valid. When false, only check that local config exists and looks valid.

True
timeout_s int

Timeout for server validation requests.

5