In fact, it was a true story. The characters and incidents depicted had real-life counterparts. However, some details might have been dramatized for the sake of the narrative.
It depends on how you define 'true'. The book might draw inspiration from real-life situations but could have fictional elements added for literary purposes. So, it's a blend of truth and creativity.