class_docstr: Chunks blocks into batches.
docstr: Whether this Batcher has any full batches.
docstr_tok: ["Whether","this","Batcher","has","any","full","batches","."]
code: def has_batch(self) -> bool:
      """Whether this Batcher has any full batches."""
      return self.has_any() and (
          self._batch_size is None
          or self._buffer_size >= self._batch_size
      )
  
imports: from typing import Optional
  from ray.data._internal.arrow_block import ArrowBlockAccessor
  from ray.data._internal.arrow_ops import transform_pyarrow
  from ray.data._internal.delegating_block_builder import DelegatingBlockBuilder
  from ray.data.block import Block, BlockAccessor
label_desc: Use image node_id 4 for calling the Batcher obj's underlying member method code with example usage: obj.has_batch() and returns: unknown