pub fn all_predicates<TYPES: NodeType>(
    predicates: Vec<Box<EventPredicate<TYPES>>>
) -> Box<TestPredicate<Arc<HotShotEvent<TYPES>>>>