Unfortunately with cases like Warren V DC and Castle Rock V Gonzales, we're not even told that. It's basically up to us to keep ourselves safe it seems.
I stopped having any respect for cops or their "safety concerns" when I watched a whole shit ton of them standing around while a dude murdered children in the same school they loitered in.