<reponame>DropsDevopsOrg/PythonWiki<filename>Python3-built-in-functions/0x57hasattr.py
class Test():
        color = 'white'


a1 = Test()
print(hasattr(a1, 'color'))

print(hasattr(a1, 'say'))

class Test():
        color = 'white'


a1 = Test()
print(hasattr(a1, 'color'))

print(hasattr(a1, 'say'))