public boolean isOpen(){
  if (secureChannelId == -1)   return false;
  long expireTime=((long)(tokenLifetime * 1.25)) + tokenIssueTime;
  long currentTime=System.currentTimeMillis();
  return expireTime > currentTime;
}

public boolean isOpen ( ) { if ( secureChannelId == - 1 ) return false ; long expireTime = ( ( long ) ( tokenLifetime * 1.25 ) ) + tokenIssueTime ; long currentTime = System . currentTimeMillis ( ) ; return expireTime > currentTime ; }
return true if the secure channel has been opened and is not ( hopefully ) closed on the server . secure channel is open as long as it as security token that is alive , even if its transport layer connection is disconnected .
