Yes, the Trailblazer
4.2L engine does have an Engine Coolant Temperature sensor.
It is located on the passenger side of the engine, next to the last exhaust port near the firewall. It is a two wire sensor.
These actually almost never go bad. What is the reason you want to replace it? Do you have an engine code P0128?