class_docstr: A context for saving checkpoint upon preemption.
class_docstr_tok: ["A","context","for","saving","checkpoint","upon","preemption","."]
code: def in_preemption_save_context(self):
      return self._in_preemption_save_context
  
file_path: tensorflow/tensorflow/python/checkpoint/checkpoint_context.py
imports: import contextlib
  import threading
label_desc: Use image node_id 4 for calling the PreemptionSaveContext obj's underlying member method code with example usage: obj.in_preemption_save_context() and returns: self