adaptive_will_pop_scope library