check if object is not none in pythonの検索結果