code: protected boolean isExpiredAt(long time) {
          try (Lock ignored = locker.lockIfNotHeld()) {
              checkValidForRead();
              return sessionData.isExpiredAt(time);
          }
      }
docs: Check to see if session has expired as at the time given.
  
  @param time the time since the epoch in ms
  @return true if expired