I always ask.
Last year on the GAP/C&O I saw a couple of strong cyclists reduced to walking because they ran out of patches. They ended up Ubering to a bike store to get new tubes.
I met another guy, a rec rider, walking his bike. He had a slow leak, so we pumped him up so he could ride at least part way back to his car. I got two flats on the ride.