code: public static <S, T extends Event> InputMapTemplate<S, T> unless(
              Predicate<? super S> condition, InputMapTemplate<S, T> imt) {
          return when(condition.negate(), imt);
      }
docs: When the given {@code condition} is false, pattern matches the event with the given {@link InputMap} or
  proceeds to the next {@code InputMap} (if it exists).