docstr: Returns True if called inside a running Flow, False otherwise.
  
  You can use this property e.g. inside a library to choose the desired
  behavior depending on the execution context.
  
  Returns
  -------
  bool
      True if called inside a run, False otherwise.
docstr_tok: ["Returns","True","if","called","inside","a","running","Flow",",","False","otherwise",".","You","can","use","this","property","e.g",".","inside","a","library","to","choose","the","desired","behavior","depending","on","the","execution","context",".","Returns","--","--","--","-","bool","True","if","called","inside","a","run",",","False","otherwise","."]
code: def is_running_flow(self) -> bool:
      """
      Returns True if called inside a running Flow, False otherwise.
  
      You can use this property e.g. inside a library to choose the desired
      behavior depending on the execution context.
  
      Returns
      -------
      bool
          True if called inside a run, False otherwise.
      """
      return self._is_running
  
imports: from collections import namedtuple
  import os
  from typing import Any, Optional
  from metaflow.metaflow_config import TEMPDIR
label_desc: Use image node_id 6 for calling the Current obj's underlying member method code with example usage: obj.is_running_flow() and returns: self