結果 : how to check if a string begins with a substring python