code: def is_module_changed(module_str):
      """Check if a module has changed compared to the main branch.
  
      Parameters
      ----------
      module_str : str
          module string, e.g., sktime.forecasting.naive
      """
      module_file_path = get_path_from_module(module_str)
      cmd = f"git diff remotes/origin/main -- {module_file_path}"
      try:
          output = subprocess.check_output(cmd, shell=True, text=True)
          return bool(output)
      except subprocess.CalledProcessError:
          return True
  
imports: import importlib.util
  import inspect
  import subprocess
label_desc: Use image node_id 3 for calling a global function with example usage: is_module_changed(module_str) and returns: bool, True