It is. The movie takes elements from real police experiences and weaves them into the story. However, some parts might be dramatized for cinematic effect.
It's a movie. It tells a story based on real - life events in the world of law enforcement. It shows the daily work, challenges, and risks that police officers face.