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