code: def is_named_ethosu_op(expr: tvm.relay.Expr, name: str) -> bool:
      """Checks whether a relay expression matches that of the
      named operator.
  
      Parameters
      ----------
      expr : tvm.relay.Expr
          The expression to check.
      name : str
          The name of the expected operator
          (without NPU prefix "contrib.ethosu").
  
      Returns
      -------
      bool
          True if expression matches name, false if not.
      """
      prefix = "contrib.ethosu."
      return (
          isinstance(expr, tvm.relay.expr.Call)
          and isinstance(expr.op, tvm.ir.op.Op)
          and expr.op.name == prefix + 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 3 for calling a global function with example usage: is_named_ethosu_op(expr, name) and returns: unknown