isRemote() public method

Tells if the session is local (the current session bound to the current HTTP request) or remote (retrieved through the Session Manager).
public isRemote ( ) : boolean
return boolean TRUE if the session is remote, FALSE if this is the current session
 /**
  * @test
  */
 public function constructCreatesARemoteSessionIfSessionIfIdentifierIsSpecified()
 {
     $storageIdentifier = '6e988eaa-7010-4ee8-bfb8-96ea4b40ec16';
     $session = new Session('ZPjPj3A0Opd7JeDoe7rzUQYCoDMcxscb', $storageIdentifier, 1354293259);
     $this->assertTrue($session->isRemote());
     $session = new Session();
     $this->assertFalse($session->isRemote());
 }