def METHOD_NAME(self):
    global_dict = common_util.GlobalDict()
    if self._is_chief:
        # chief needs to do checkpoint and then
        # set global_dict[TFConstants.SaveCheckpoint.name] = True
        # In the checkpoint save hook,
        # chief set global_dict[TFConstants.RelaunchForPs.name] = True
        global_dict[TFConstants.SaveCheckpoint.name] = True
    else:
        # worker needs set
        # global_dict[TFConstants.RelaunchForPs.name] = True
        # and wait chief do checkpoints.
        global_dict[TFConstants.RelaunchForPs.name] = True
    logger.info("global dict is %s" % global_dict)