結果 : python how to check if string ends with substring