Is a phone charger a switched mode power supply?

not all but there rare many of them in this usage