結果 : check if is attribute python