Default Using bad ESN HTC ONE on AT&T

So recently I came found pretty beaten up HTC ONE that is Verizon branded. I called and they said its a bad ESN that the previous owner didn't finish the payment. So I was wondering, (yes I looked through various threads and could not get to a final answer) if I use this phone with an AT&T sim, it will work right? Verizon HTC ONES are required to be GSM unlocked and ESN only matters to CDMA carriers and not GSM carriers. Thanks.