Yes, it’s a prequel about how the Joker came to be, and why he has animosity toward Bruce Wayne. Without giving anything away, the film gives you insight into what drove the Joker toward violence. It even discloses how he got his name.
Very clever, and very well done.