protected boolean expire(ExpirationAction action, boolean isPending) throws CacheException {
    if (action.isInvalidate()) {
      return invalidate();
    }
    if (action.isDestroy()) {
      return destroy(isPending);
    }
    if (action.isLocalInvalidate()) {
      return localInvalidate();
    }
    if (action.isLocalDestroy()) {
      return localDestroy();
    }
    throw new InternalGemFireError(
        String.format("unrecognized expiration action: %s", action));
  }
Returns true if the ExpirationAction is a distributed action.
geode-core/src/main/java/org/apache/geode/internal/cache/ExpiryTask.java