Hard to say. You'd have to look into the background and the director's statements. Some movies that claim to be based on true stories might have fictional elements added for dramatic effect.
It's possible that it is based on a true story, but you'd need to do some research or read reviews to find out for sure. Maybe there were real-life events that sparked the idea for the movie.