Is a lighter effective because it’s on fire? Or just because it’s hot?

If you made a lighter that was just as hot as another lighter, would it work just as well even if it had no fire?