@Override
  public boolean isPending() {
    RegionEntry re = this.re;
    if (re == null) {
      return false;
    }
    if (re.isDestroyedOrRemoved()) {
      return false;
    }
    ExpirationAction action = getAction();
    if (action == null) {
      return false;
    }
    return (!action.isInvalidate() && !action.isLocalInvalidate()) || !re.isInvalid();
  }
Returns the tasks region entry if it "checks" out. The check is to see if the region entry
still exists.

@throws EntryNotFoundException if the task no longer has a region entry or if the region entry
        it has is removed.
geode-core/src/main/java/org/apache/geode/internal/cache/EntryExpiryTask.java