code: def getCheckpointFile(self):
          
          checkpointFile = self._jrdd.rdd().getCheckpointFile()
          if checkpointFile.isDefined():
              return checkpointFile.get()
docs: Gets the name of the file to which this RDD was checkpointed
  
          Not defined if RDD is checkpointed locally.