public boolean isExpired(){
  return System.currentTimeMillis() >= creationTime + lifetime;
}

public boolean isExpired ( ) { return System . currentTimeMillis ( ) >= creationTime + lifetime ; }
return security tokens expired status . token is expired if its 100 % of its life time has elapsed . note , the token is valid for use until 125 % of its life time has passed .
