Speed Traps- are they legal?

and im sure your a speed limit law abiding citizen to the “T”… okay princess.