結果 : check if a pattern is in a string python