結果 : how to check if a string is a prefix of another string python