I apology ahead if this is a repost. I'm currently using a following "self-invented" verification method to check if a Class's attribute (or method) exists before trying to access it:
if 'methodName' in dir(myClassInstance): result=myClassInstance.methodName()
I wonder if there is a more common "standardized" way of doing the same.