Police arrest a driver, handcuff him, and place him in the patrol car, then search his vehicle's passenger compartment.Under Arizona v.Gant, the search is valid only if: