code: def mock_tc_load_or_create_func(
      trial_component_name,
      display_name=None,
      tags=None,
      sagemaker_session=None,
  ):
      tc = _TrialComponent(
          trial_component_name=trial_component_name,
          display_name=display_name,
          tags=tags,
          sagemaker_session=sagemaker_session,
      )
      return tc, True
  
imports: from __future__ import absolute_import
  from sagemaker.experiments.trial import _Trial
  from sagemaker.experiments.trial_component import _TrialComponent
label_desc: Use image node_id 1 for calling a global function with example usage: mock_tc_load_or_create_func(trial_component_name, display_name, tags, sagemaker_session) and returns: tc,  True