code: def is_composite_func(func: relay.Function, name: str) -> bool:
      """
      This method checks whether the call is to
      a composite function of a given name.
  
      Parameters
      ----------
      func : relay.Function
          The header to be displayed along with the dump.
  
      name : str
          The candidate name to be checked
  
      Returns
      --------
      a boolean
      """
  
      if not hasattr(func, "attrs"):
          return False
      if "Composite" not in func.attrs.keys():
          return False
      composite_name = func.attrs["Composite"]
  
      return composite_name == name
  
imports: from inspect import signature
  from enum import Enum
  from typing import Union, Tuple, List
  import numpy
  import tvm
  from tvm import relay
  from tvm._ffi import register_object
  from tvm.runtime import Object
  from .None import _ffi_api
label_desc: Use image node_id 2 for calling a global function with example usage: is_composite_func(func, name) and returns: unknown, False, False