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