code: def check_text_content(cls, text: str):
      assert text and text.strip(), "No text or empty text provided"
      return text
  
imports: from typing import Dict, List, Optional
  from argilla.server.apis.v0.models.commons.model import BaseRecord, BaseRecordInputs, BaseSearchResults, ScoreRange
  from argilla.server.commons.models import PredictionStatus
  from argilla.server.daos.backend.search.model import SortableField
  from argilla.server.pydantic_v1 import BaseModel, Field, root_validator, validator
  from argilla.server.schemas.v0.datasets import UpdateDatasetRequest
  from argilla.server.services.search.model import ServiceBaseRecordsQuery, ServiceBaseSearchResultsAggregations
  from argilla.server.services.tasks.token_classification.model import ServiceTokenClassificationAnnotation
label_desc: Use image node_id 2 for calling the TokenClassificationRecordInputs obj's underlying member method code with example usage: obj.check_text_content(cls, text) and returns: text