fn is_item_reachable(
    is_json_output: bool,
    effective_visibilities: &EffectiveVisibilities<DefId>,
    item_id: ItemId
) -> bool