code: def check_params(self):
      if not self._sample_id_name:
          raise ValueError("Please provide sample_id_name")
  
      if (
          not isinstance(self._block_row_size, int)
          or self._block_row_size < 0
      ):
          raise ValueError("block_row_size should be positive integer")
  
imports: import functools
  import pandas
  from typing import Union
  from .conf.default_config import DATAFRAME_BLOCK_ROW_SIZE
  from .entity import types
  from ._dataframe import DataFrame
  from .manager import DataManager
  from fate.arch.trace import auto_trace
label_desc: Use image node_id 2 for calling the TableReader obj's underlying member method code with example usage: obj.check_params() without return types