SyntaxFix
Write A Post
Hire A Developer
Questions
Here's a very intuitive approach :
if 'property' in dir(a): a.property