code: def check_text_content(cls, text: str):
      assert text and text.strip(), "No text or empty text provided"
      return text
  
imports: from datetime import datetime
  from typing import Dict, List, Optional, Union
  from argilla._constants import DEFAULT_MAX_KEYWORD_LENGTH
  from argilla.client.models import TokenClassificationRecord
  from argilla.client.sdk.commons.models import MACHINE_NAME, BaseAnnotation, BaseRecord, PredictionStatus, ScoreRange, SdkVectorSearch, TaskStatus, UpdateDatasetRequest
  from argilla.pydantic_v1 import BaseModel, Field, validator
label_desc: Use image node_id 1 for calling the CreationTokenClassificationRecord obj's underlying member method code with example usage: obj.check_text_content(cls, text) and returns: text