code: public function setSessionData(array $sessionData)
      {
          if (isset($sessionData['sessionId'], $sessionData['sequenceNumber'], $sessionData['securityToken'])) {
              $this->sessionData['sessionId'] = $sessionData['sessionId'];
              $this->sessionData['sequenceNumber'] = $sessionData['sequenceNumber'];
              $this->sessionData['securityToken'] = $sessionData['securityToken'];
              $this->isAuthenticated = true;
          } else {
              $this->isAuthenticated = false;
          }
  
          return $this->isAuthenticated;
      }
docs: Set the session data to continue a previously started session.
  
  @param array $sessionData
  @return bool