code: def _run_with_test_status(task: gokart.TaskOnKart):
      test_message = _TestStatus(task)
      try:
          task.run()
      except Exception as e:
          test_message.status = "NG"
          test_message.message = e
      return test_message
  
file_path: gokart/gokart/testing/check_if_run_with_empty_data_frame.py
imports: import logging
  import sys
  from typing import List, Optional
  import luigi
  import pandas
  from luigi.cmdline_parser import CmdlineParser
  import gokart
label_desc: Use image node_id 2 for calling a global function with example usage: _run_with_test_status(task) and returns: test_message