code: def print_status(exp, offset=0, all_trials=False, collapse=False):
      """Print the status of the current experiment.
  
      Parameters
      ----------
      offset: int, optional
          The number of tabs to the right this experiment is.
      all_trials: bool, optional
          Print all trials individually
      collapse: bool, optional
          Fetch trials for entire EVCTree. Defaults to False.
  
      """
      trials = exp.fetch_trials(with_evc_tree=collapse)
  
      exp_title = exp.node.tree_name
      print(" " * offset, exp_title, sep="")
      print(" " * offset, "=" * len(exp_title), sep="")
  
      if all_trials:
          print_all_trials(trials, offset=offset)
      else:
          print_summary(trials, offset=offset)
  
file_path: orion/src/orion/core/cli/status.py
imports: import collections
  import logging
  import tabulate
  from orion.core.cli import base
  from orion.core.io import experiment_builder
label_desc: Use image node_id 7 for calling a global function with example usage: print_status(exp, offset, all_trials, collapse) without return types