code: public static <S, T extends Event, U extends T> InputMapTemplate<S, U> consumeUnless(
              EventPattern<? super T, ? extends U> eventPattern,
              Predicate<? super S> condition,
              BiConsumer<? super S, ? super U> action) {
          return consumeWhen(eventPattern, condition.negate(), action);
      }
docs: If the given {@link EventPattern} matches the given event type and {@code condition} is false,
  consumes the event and does not attempt to match additional
  {@code InputMap}s (if they exist). If {@code condition} is true, continues to try to pattern match
  the event type with the next {@code InputMap} (if one exists).