Only if he has reasonable grounds to suspect you are hiding something.
did you give any attitude?
Did he ask you if it were yours?
Did you ask for his badge number??
Did you ask him why he was rumaging through your bag? and under what pre-tense?
Could have been more inconvenient and stickered you for the
bov.