If you had it in locked saddlebags or under the seat where it's locked - no. That's not a violation. Keep it in your backpack, tank bag or any other means where you have access and it is a violation and you could be arrested.
Of every one hundred men, ten should not even be here. Eighty are nothing but targets. Nine are real fighters, and we are lucky to have them, for they make the battle. Ah, but the One... One of them is a Warrior... He will bring the others back.
"Wrong door, buddy!"
Let no man's ghost say my training failed him.