class_docstr: A DataStore which relies on the GraphManager check pointing methods to communicate policies.
class_docstr_tok: ["A","DataStore","which","relies","on","the","GraphManager","check","pointing","methods","to","communicate","policies","."]
docstr: Returns true if no new policies will be added to this DataStore. This typically happens
  because training has completed and is used to signal to the rollout workers to stop.
docstr_tok: ["Returns","true","if","no","new","policies","will","be","added","to","this","DataStore",".","This","typically","happens","because","training","has","completed","and","is","used","to","signal","to","the","rollout","workers","to","stop","."]
code: def end_of_policies(self) -> bool:
      """
      Returns true if no new policies will be added to this DataStore. This typically happens
      because training has completed and is used to signal to the rollout workers to stop.
      """
      return os.path.exists(
          os.path.join(self.checkpoint_dir, SyncFiles.FINISHED.value)
      )
  
file_path: coach/rl_coach/data_stores/checkpoint_data_store.py
imports: import time
  import os
  from rl_coach.checkpoint import CheckpointStateReader
  from rl_coach.data_stores.data_store import SyncFiles
label_desc: Use image node_id 2 for calling the CheckpointDataStore obj's underlying member method code with example usage: obj.end_of_policies() and returns: os