Nothing could be further from the truth, of course. Here's a short passage from the Inferno that sums up the facts:
Absolved uncontrite means no absolution;Going through the motions is not Catholic. We don't have that luxury. Nor may we sin with the thought in our heads that "I'll just go to confession afterwards." No. This is to abuse the Sacrament, and actually multiplies our sin (by attempting to obtain forgiveness under false pretenses).
Nor can one will at once sin and contrition,
The contradiction bars the false conclusion.
The priest does not know our hearts. He can only presume that when we come for absolution, we do so with true contrition and genuine repentance. It behooves us to actually bring them to the confessional.