class_docstr: Accumulator for gathering the latest timesteps into sequences.
  
  Note sequences can overlap and cross episode boundaries.
class_docstr_tok: ["Accumulator","for","gathering","the","latest","timesteps","into","sequences",".","Note","sequences","can","overlap","and","cross","episode","boundaries","."]
code: def is_ready(self, batch_size):
      if batch_size != 1:
          raise ValueError("Require batch_size == 1.")
      return len(self._timesteps) == self._timesteps.maxlen
  
imports: import collections
  from absl import app
  from absl import flags
  from bsuite.environments import catch
  import dm_env
  import haiku
  from haiku import nets
  import jax
  import jax.numpy
  import numpy
  import optax
  import rlax
  from rlax.examples import experiment
label_desc: Use image node_id 4 for calling the SequenceAccumulator obj's underlying member method code with example usage: obj.is_ready(batch_size) and returns: unknown