The book by former Google communications head Jessica Powell is fiction, but many of its tropes are drawn from actual life.