밑의 코드같이 쓸 건데요 exist(Attr)의 역할을 하는 함수를 어떻게 만들죠?
exist(Attr)
a = myClass() if a.exist(Attr): pass else : pass