A new characterization of completely integrable systems