docs: static boolean isIncludeValue(EventFilter filter) {
          // the order of the following ifs is important!
          // QueryEventFilter is instance of EntryEventFilter
          if (filter instanceof EventListenerFilter) {
              filter = ((EventListenerFilter) filter).getEventFilter();
          }
          if (filter instanceof TrueEventFilter) {
              return true;
          }
          if (filter instanceof QueryEventFilter) {
              return ((QueryEventFilter) filter).isIncludeValue();
          }
          if (filter instanceof EntryEventFilter) {
              return ((EntryEventFilter) filter).isIncludeValue();
          }
          throw new IllegalArgumentException("Unknown EventFilter type = [" + filter.getClass().getCanonicalName() + "]");
      }