class_docstr: Save collection of render frames.
docstr: Returns the collection of frames and, if pop_frames = True, clears it.
docstr_tok: ["Returns","the","collection","of","frames","and",",","if","pop_frames","=","True",",","clears","it","."]
code: def render(self):
      """Returns the collection of frames and, if pop_frames = True, clears it."""
      frames = self.frame_list
      if self.pop_frames:
          self.frame_list = []
  
      return frames
  
imports: import gym
label_desc: Use image node_id 5 for calling the RenderCollection obj's underlying member method code with example usage: obj.render() and returns: frames