def ends_dentals(text: str) -> bool:
    """
    Checks if the word ends with a "dentals" consonant.
    ("DeNTalS" is a mnemonic to remember the consonants dnts)

    :param text: the string to check
    :return: true if the input ends with one of 'dnts'
    """
    return text.lower()[-1] in "dnts"