‘Traffic stop’ means any occasion when the driver of a motor vehicle is halted by a law enforcement officer for an alleged traffic violation or infraction.