Function skip

Source
fn skip<T>(
    item: &T,
    skipping: &AtomicBool,
    predicate: &impl Fn(&T) -> bool,
) -> bool