結果 : check if pattern is in string python