Possibly. Although as a default rule police are required to obtain a warrant before conducting a search of a person or private property, such as a home or vehicle, there are many exceptions to this warrant requirement. For example, police may search your person without a warrant incident to your arrest. And police may conduct a search of your vehicle without a warrant during a traffic stop if they have probable cause to believe there is evidence of a crime in your vehicle that might be lost while securing a search warrant. The law governing searches is highly complex, so you should speak with an experienced criminal defense attorney about whether the police’s search of your person, vehicle, or home may have been legal.