pub fn has_batch_source_where<P>(plan: PlanRef<Batch>, pred: P) -> boolwhere P: FnMut(&BatchSource) -> bool,