public boolean isTimeOrActionSet() {
      return time != null || action != null;
    }
the difference between this and ExpirationAttributes is that this allows time and action to be
null
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/functions/RegionFunctionArgs.java