Text this: When Photoelectrons Meet Gas Molecules: Determining the Role of Inelastic Scattering in Ambient Pressure X‑ray Photoelectron Spectroscopy