A member of the California Highway Patrol upon reasonable belief that any vehicle is being operated in violation of any provisions of this code or is in such unsafe condition as to endanger any person, may require the driver of the vehicle to stop and submit to an inspection of the vehicle, and its equipment, license plates, and registration card.
Ca. Veh. Code § 2804