RAPID COMMUNICATION: A new method of probing the phonon mechanism in superconductors, including MgB2