code: def check_gcc_function_attribute_with_intrinsics(
      cmd, attribute, name, code, include
  ):
      """Return True if the given function attribute is supported with
      intrinsics."""
      cmd._check_compiler()
      body = (
          textwrap.dedent(
              """
          #include<%s>
          int %s %s(void)
          {
              %s;
              return 0;
          }
  
          int
          main()
          {
              return 0;
          }
          """
          )
          % (include, attribute, name, code)
      )
      return cmd.try_compile(body, None, None) != 0
  
file_path: numpy/numpy/distutils/command/autodist.py
imports: import textwrap
label_desc: Use image node_id 6 for calling a global function with example usage: check_gcc_function_attribute_with_intrinsics(cmd, attribute, name, code, include) and returns: unknown