Changed behavior is the best evidence of a changed heart. It is the result of regeneration, not a qualification for it.

But I would say that if outward behavior continues in a lifelong pattern of habitual rebellion over dozens of years, sucha person would be wise to question their own salvation.