endswith(suffix[, start[, end]])
True if the string ends with the specified suffix, otherwise
False. suffix can also be a tuple of suffixes to look
for. With optional start, test beginning at that position. With
optional end, stop comparing at that position.
Changed in version 2.5: Accept tuples as suffix.