結果 : python check if nonetype or empty