class_docstr: A run of a training script.
class_docstr_tok: ["A","run","of","a","training","script","."]
docstr: Check whether the experiment is running or not.
  If the last heartbeat recorded is greater than the last tolerable
  heartbeat then return False else True
  In case the heartbeat metadata file is not present which means the
  experiment was stopped the function returns False.
docstr_tok: ["Check","whether","the","experiment","is","running","or","not",".","If","the","last","heartbeat","recorded","is","greater","than","the","last","tolerable","heartbeat","then","return","False","else","True","In","case","the","heartbeat","metadata","file","is","not","present","which","means","the","experiment","was","stopped","the","function","returns","False","."]
code: def is_running(self) -> bool:
      """
      Check whether the experiment is running or not.
      If the last heartbeat recorded is greater than the last tolerable
      heartbeat then return False else True
      In case the heartbeat metadata file is not present which means the
      experiment was stopped the function returns False.
      """
      return self._project._daemon().experiment_is_running(self.id)
  
imports: import datetime
  import getpass
  import html
  import json
  import math
  import os
  import shlex
  import sys
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, MutableSequence, Optional, Tuple
  from .None import console
  from .checkpoint import Checkpoint, CheckpointList, PrimaryMetric
  from .metadata import parse_rfc3339, rfc3339_datetime
  from .packages import get_imported_packages
  from .system import get_python_version
  from .validate import check_path
  from .version import version
label_desc: Use image node_id 12 for calling the Experiment obj's underlying member method code with example usage: obj.is_running() and returns: self