code: def _entry_point_module(entry_point):
      try:
          return entry_point.module
      except AttributeError:
          # Python 3.8
          return entry_point.value.split(":")[0].strip()
  
imports: from __future__ import annotations
  import ast
  import glob
  import logging
  import os
  import sys
  import tempfile
  from collections import OrderedDict
  from importlib.metadata import EntryPoint, entry_points
  from importlib.resources import files
  from typing import Iterable
  import appdirs
  from donfig import Config
  from satpy._compat import cache
label_desc: Use image node_id 4 for calling a global function with example usage: _entry_point_module(entry_point) and returns: entry_point, entry_point