@staticmethod
def add_cls_token(tokens: List[Token], attribute: Text) -> List[Token]:
    if ((attribute in [RESPONSE_ATTRIBUTE, TEXT_ATTRIBUTE]) and tokens):
        idx = (tokens[(- 1)].end + 1)
        tokens.append(Token(CLS_TOKEN, idx))
    return tokens
@staticmethod
def add_cls_token(tokens: List[Token], attribute: Text) -> List[Token]:
    if ((attribute in [RESPONSE_ATTRIBUTE, TEXT_ATTRIBUTE]) and tokens):
        idx = (tokens[(- 1)].end + 1)
        tokens.append(Token(CLS_TOKEN, idx))
    return tokens