2to3 --fix=has_key
diff --git a/Lib/fontTools/agl.py b/Lib/fontTools/agl.py
index c56ab81..a3ed285 100644
--- a/Lib/fontTools/agl.py
+++ b/Lib/fontTools/agl.py
@@ -724,7 +724,7 @@
 		assert len(unicode) == 4
 		unicode = int(unicode, 16)
 		glyphName = m.group(2)
-		if AGL2UV.has_key(glyphName):
+		if glyphName in AGL2UV:
 			# the above table contains identical duplicates
 			assert AGL2UV[glyphName] == unicode
 		else: