[Home](./index.md) > [bitburner](./bitburner.md) > [DarknetServerDetails](./bitburner.darknetserverdetails.md) > [hasSession](./bitburner.darknetserverdetails.hassession.md) ## DarknetServerDetails.hasSession property True if the current script has authenticated to this server with the right password using authenticate() or connectToSesssion() **Signature:** ```typescript hasSession: boolean; ```