There is a way for LEOs to "quickly determine whether the gun is owned legally." If the gun is properly holstered and not being handled, the LEO has no reason to believe that anything illegal is going on.
Bad guys almost exclusively use two states: concealing or brandishing. How many BGs have you seen or heard about OCing in a holster? They just don't do it.