Instance Property
isAuthenticated
true once any successful AUTHENTICATE (or pre-auth construction) has marked this client ready.
var isAuthenticated: Bool { get }
Discussion
Becomes true after the first successful authenticate(password:) call or after init(fileDescriptor:preAuthenticated:dataDirectory:) with preAuthenticated: true. Never reverts to false within a single instance — discard the client and construct a new one to re-authenticate a socket from scratch.
Note
Reads race-safely with a concurrent authenticate(password:); the underlying flag is Mutex<Bool>-guarded (SE-0410).