code: def is_imported_from_same_module(
      the_class: str, imported_name: str
  ) -> bool:
      """Is the class imported from another module?
  
      :param the_class: the class object itself
      :param imported_name: name of the imported class
      :return: true if the class was imported from another module
      """
      return imported_name.rpartition(":")[0] == the_class.__module__
  
imports: from __future__ import annotations
  import importlib
  import json
  import logging
  import os
  import pkgutil
  import re
  import subprocess
  import sys
  import traceback
  import warnings
  from enum import Enum
  from inspect import isclass
  from pathlib import Path
  from typing import NamedTuple
  from rich.console import Console
  from airflow.exceptions import AirflowOptionalProviderFeatureException
  from airflow.secrets import BaseSecretsBackend
label_desc: Use image node_id 3 for calling a global function with example usage: is_imported_from_same_module(the_class, imported_name) and returns: unknown