code: public static <ITEM extends Item> Predicate<ITEM> withTrigger(final Class<? extends Trigger> clazz) {
          return new Predicate<ITEM>() {
              public boolean apply(Item item) {
                  return triggerFrom(item, clazz) != null;
              }
          };
      }
docs: @param clazz trigger class to check in job
  
  @return predicate with true on apply if job contains trigger of given class