public boolean isExpired(DrawContext dc){
  if (this.expired)   return true;
  long now=dc != null ? dc.getFrameTimeStamp() : System.currentTimeMillis();
  if (now >= this.expiryTime)   return true;
  return false;
}

public boolean isExpired ( DrawContext dc ) { if ( this . expired ) return true ; long now = dc != null ? dc . getFrameTimeStamp ( ) : System . currentTimeMillis ( ) ; if ( now >= this . expiryTime ) return true ; return false ; }
indicates whether this timer has expired .
