Was the movie K-19 (The Widowmaker) based on an actual event?

History Trivia: Was the movie K-19 (The Widowmaker) based on an actual event?