code: def profiling_interval(self) -> Tuple[int, Optional[int]]:
      if not self.profiling_enabled():
          return 0, 0
  
      return self["profiling"]["begin_on_batch"], self["profiling"].get(
          "end_after_batch", None
      )
  
file_path: determined/harness/determined/_experiment_config.py
imports: from typing import Any, Dict, List, Optional, Tuple, Union
label_desc: Use image node_id 8 for calling the ExperimentConfig obj's underlying member method code with example usage: obj.profiling_interval() and returns: self,  self, int,  int