結果 : check for pattern in string python