@Override
  public boolean hasExpired(SlotInfo<? extends T> info) throws Exception {
    return firstExpiration.hasExpired(info)
            || secondExpiration.hasExpired(info);
  }
@ Override public boolean hasExpired ( SlotInfo < ? extends T > info ) throws Exception { return firstExpiration . hasExpired ( info ) || secondExpiration . hasExpired ( info ) ; }
Returns {@code true} if any of the given {@link Expiration} has expired.