結果 : how to check if not null in python