since we already have a `shared_changed` function, perhaps we could have an `is_shared(resource)` one...