def is_end(word, separator):
    """Return true if the subword can appear at the end of a word (i.e., the subword
    does not end with separator). Return false otherwise."""
    return not word.endswith(separator)