Skip to content

Is_remote_logged_in

Return whether the remote CLI has a usable authenticated session.

Parameters:

  • validate_server

    (bool, default: True ) –

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

  • timeout_s

    (int, default: 5 ) –

    Timeout for server validation requests.