結果 : is not none check in python