def METHOD_NAME(
    cls, tags: t.List[str] | None, forbid_builtin_tags: bool = True
) -> None:
    tags = tags or []
    for _t in tags:
        _t = _t.strip()
        _ok, _reason = validate_obj_name(_t)
        if not _ok:
            raise FormatError(f"{_t}, reason:{_reason}")
        if forbid_builtin_tags and cls.is_builtin_tag(_t):
            raise FormatError(f"tag:{_t} is builtin, can not be used")