class_docstr: Size estimator.
code: def should_flush(self) -> bool:
      return self._curr_size >= self._size_threshold
  
file_path: model-analysis/tensorflow_model_analysis/utils/size_estimator.py
imports: import sys
  from typing import Any, Callable
  import apache_beam
  from tensorflow_model_analysis import constants
label_desc: Use image node_id 4 for calling the SizeEstimator obj's underlying member method code with example usage: obj.should_flush() and returns: unknown