The highway patrol officers under the supervision of the superintendent of the Division of Highway Patrol may upon evidence that any motor vehicle is being operated in nonconformance or in violation of any provision of chapters 32-14 to 32-19, inclusive, or of chapters 32-22 to 32-34, inclusive, or is in a condition that is unsafe and an endangerment to the driver, or other occupant or any person on the highway, may require the driver of the motor vehicle to stop and submit to an inspection of the motor vehicle and its equipment, license plates, and registration certificate.
SDCL 32-21-28