結果 : python check isinstance nonetype