def is_token_subtype(ttype, other):
    """
    Return True if ``ttype`` is a subtype of ``other``.

    exists for backwards compatibility. use ``ttype in other`` now.
    """
    return ttype in other
dataset/ETHPy150Open adieu/allbuttonspressed/pygments/token.py/is_token_subtype/original