isSuffixOf package:text

O(n) The isSuffixOf function takes two Texts and returns True if and only if the first is a suffix of the second.