I was wondering if an off duty police officer (NSW) is legally allowed to pull over a driver, take down that person's details and ask to see the contents of the driver's handbag. This was late at night, the officer identified himself and said he'd seen me driving erratically. He asked a few questions and asked to see my drivers licence. After me showing him the contents of my handbag and he wrote down my details, he said he was giving me a verbal caution. Is this above board?