class_docstr: Represents a variable-length list of child spaces.
  
  Example:
      self.observation_space = spaces.Repeated(spaces.Box(4,), max_len=10)
          --> from 0 to 10 boxes of shape (4,)
  
  See also: documentation for rllib.models.RepeatedValues, which shows how
      the lists are represented as batched input for ModelV2 classes.
code: def contains(self, x):
      return (
          isinstance(x, (list, np.ndarray))
          and len(x) <= self.max_len
          and all(self.child_space.contains(c) for c in x)
      )
  
file_path: ray/python/ray/rllib/utils/spaces/repeated.py
imports: import gymnasium
  import numpy
  from ray.rllib.utils.annotations import PublicAPI
label_desc: Use image node_id 3 for calling the Repeated obj's underlying member method code with example usage: obj.contains(x) and returns: unknown