Though not a literary masterpiece, the California senator’s book is effective as a campaign tool: She makes an argument for a chance at the presidency — like the prosecutor she is.