Here's why the New York AG considered investigating Rudy Giuliani