結果 : check if string starts with pattern python