Python Compruebe si el atributo existe en clase

if hasattr(obj, 'propertyName'):
	...
M. Alban Landry