class_docstr: Coordinates checkpointing and checkpointing across multiple nodes.
  Each of `init`, `load` and `save` will build TaskGroups which will
  trigger checkpointing on each of the nodes involved in a distributed job.
  
  Args:
      db_prefix: The prefix used to construct full db name. Since `absolute_path`
          is set to True, this will be used as db_name in SaveOp.
      db_type: Type of database to use for storing checkpoint.
      metadata_handler: An optional object capable of reading/writing
          checkpoint info in storage of choice.
class_docstr_tok: ["Coordinates","checkpointing","and","checkpointing","across","multiple","nodes",".","Each","of","`","init","`",",","`","load","`","and","`","save","`","will","build","TaskGroups","which","will","trigger","checkpointing","on","each","of","the","nodes","involved","in","a","distributed","job",".","Args",":","db_prefix",":","The","prefix","used","to","construct","full","db","name",".","Since","`","absolute_path","`","is","set","to","True",",","this","will","be","used","as","db_name","in","SaveOp",".","db_type",":","Type","of","database","to","use","for","storing","checkpoint",".","metadata_handler",":","An","optional","object","capable","of","reading\/writing","checkpoint","info","in","storage","of","choice","."]
docstr: Returns True if Checkpoint data is accessible
  
  Args:
      epoch: An integer. The epoch of the checkpoint. If None,
          it implies we need to check if checkpoint directory is accessible
  
  Returns:
      is_cp_accessible: A boolean. Returns True if Checkpoint data is accessible
docstr_tok: ["Returns","True","if","Checkpoint","data","is","accessible","Args",":","epoch",":","An","integer",".","The","epoch","of","the","checkpoint",".","If","None",",","it","implies","we","need","to","check","if","checkpoint","directory","is","accessible","Returns",":","is_cp_accessible",":","A","boolean",".","Returns","True","if","Checkpoint","data","is","accessible"]
code: def cp_accessible(self, epoch=None):
      """Returns True if Checkpoint data is accessible
  
      Args:
          epoch: An integer. The epoch of the checkpoint. If None,
              it implies we need to check if checkpoint directory is accessible
  
      Returns:
          is_cp_accessible: A boolean. Returns True if Checkpoint data is accessible
      """
      if self._metadata_handler is not None:
          return self._metadata_handler.cp_accessible(epoch)
      else:
          return True
  
imports: import os
  import logging
  from caffe2.python import core, context
  from caffe2.python.net_builder import ops
  from caffe2.python.task import final_output, Node, Task, TaskGroup, TaskOutput, WorkspaceType
label_desc: Use image node_id 12 for calling the MultiNodeCheckpointManager obj's underlying member method code with example usage: obj.cp_accessible(epoch) and returns: self, True