Empty object type

I am writing a custom export script for a game I am creating, I need to be able to handle hardpoints. I used New->Empty to place those hardpoints in modeling.

Now that im writing the script, I cant find a way to catch all the Empty’s as with a type() command.

if type(obj) == Types.??? :

if obj.getType() == ‘Empty’:

Thanks, that works.