結果 : check if object has no attribute python