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

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