結果 : how to check if substring exists in python