code: def check_conv(extract):
      """Check conv pattern is supported by BNNS."""
      bias_is_ok = True
      call = extract
      while call.op.name != "nn.conv2d":
          if call.op.name in ("nn.bias_add", "add"):
              bias_is_ok &= bias_check(call)
          call = call.args[0]
      return conv2d_check(call) and bias_is_ok
  
imports: import math
  import tvm.ir
  from tvm.relay import transform
  from tvm.relay.expr import const
  from tvm.relay.build_module import bind_params_by_name
  from .register import register_pattern_table, get_pattern_table
  from ...dataflow_pattern import wildcard, is_op, is_expr
label_desc: Use image node_id 12 for calling a global function with example usage: check_conv(extract) and returns: unknown