Return `true` if a string ends with the given characters.