>>> isSuffixOf "ef" "abcdef" True
>>> isPrefixOf "df" "abcdef" False
isSuffixOf "" t == True
isSuffixOf t t == True