結果 : check if element is not none python