code: def is_npu_func(func: relay.Function) -> bool:
      """Check if the given function is an NPU function."""
      return (
          func.attrs
          and "Compiler" in func.attrs
          and func.attrs["Compiler"] == "ethos-u"
      )
  
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 1 for calling a global function with example usage: is_npu_func(func) and returns: unknown