public static < ITEM extends Item > Predicate < ITEM > isAlive ( ) { return new Predicate < ITEM > ( ) { @ Override public boolean apply ( ITEM item ) { return ! from ( GHEventsSubscriber . all ( ) ) . filter ( isApplicableFor ( item ) ) . toList ( ) . isEmpty ( ) ; } } ; }
If any of event subscriber interested in hook for item then return true By default push hook subscriber is interested in job with gh - push - trigger