code: def data_has_text_features(data: InputData) -> bool:
      """
      Checks data for text fields.
      Data with text fields is always 1-dimensional due to the previous
      parsing of it from a general table to the distinct text data source.
      Returns bool, whether data has text fields or not
      """
      # TODO andreygetmanov: make compatible with current text checking
      return data.data_type is DataTypesEnum.text
  
file_path: FEDOT/fedot/core/data/data_preprocessing.py
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  from fedot.core.data.data import InputData, data_type_is_multi_ts, data_type_is_table, data_type_is_ts
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.preprocessing.data_types import TYPE_TO_ID
label_desc: Use image node_id 10 for calling a global function with example usage: data_has_text_features(data) and returns: unknown