Claire Lynch's novel was inspired by the lesbian women who lost custody of their children in the 1980s.