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