Smart Headphones

Wouldn’t it be nice if you had a pair of headphones that knew if they were being worn, and paused your music when you took them off?