def METHOD_NAME(type):
    t_types_re = r'\b({})\b'.format('|'.join([
        'LPCTSTR',
        'PCTSTR',
        'LPTSTR',
        'PTSTR',
        'TBYTE',
        'PTBYTE',
        'TCHAR',
    ]))
    return re.search(t_types_re, type) is not None