結果 : python check if a string ends with a substring