def METHOD_NAME(cls, v, values):
    pattern = 'T[0-9]{4}'
    for value in v:
        if not re.match(pattern, value):
            raise ValueError('Mitre Attack ID are not following the pattern Txxxx: ' + values["name"])
    return v