code: def dense(expr):
      """Check if the external ACL codegen for dense should be used."""
      attrs, args = expr.attrs, expr.args
      data_typ = args[0].checked_type
      if data_typ.dtype != "float32":
          return False
      kernel_typ = args[1].checked_type
      if len(kernel_typ.shape) != 2 or kernel_typ.dtype != "float32":
          return False
      if attrs.out_dtype != "float32" and attrs.out_dtype != "":
          return False
      return True
  
imports: import tvm
  from tvm import relay
  from tvm._ffi import register_func
  from tvm.relay import transform
  from tvm.relay.build_module import bind_params_by_name
  from tvm.relay.expr import const
  from ...dataflow_pattern import is_constant, is_expr, is_op, is_tuple, wildcard
  from ..strategy.generic import is_depthwise_conv2d
  from .register import register_pattern_table
label_desc: Use image node_id 9 for calling a global function with example usage: dense(expr) and returns: True, False, False, False