How to use "detect" in a sentence

Sentences

The garage was slightly musty, but Tina wasn't able to detect the odor of gas.

Gas might be leaking under the concrete slab and building up down there, in which case it's possible you wouldn't detect it right away, but you'd still be sitting on top of a bomb."

Furthermore, this was not the mid-nineteenth century; these days, doctors could detect even the vaguest heartbeat, the shallowest respiration, the dimmest traces of brain-wave activity.

He had an amazing ability to detect a lie even before it was spoken