Fast test to assess the impact of marginalization in Monte Carlo analyses and its application to cosmology | Synapse