No that is not the reason they searched the car. They must have some other reasons to stop the car. Once they stopped the car, such as a traffic stop, they can search the car.