docstr: Check type availability. Return True if the type can be compiled,
  False otherwise
docstr_tok: ["Check","type","availability",".","Return","True","if","the","type","can","be","compiled",",","False","otherwise"]
code: def check_type(
      self,
      type_name,
      headers=None,
      include_dirs=None,
      library_dirs=None,
  ):
      """Check type availability. Return True if the type can be compiled,
      False otherwise"""
      self._check_compiler()
  
      # First check the type can be compiled
      body = r"""
  int main(void) {
    if ((%(name)s *) 0)
      return 0;
    if (sizeof (%(name)s))
      return 0;
  }
  """ % {
          "name": type_name
      }
  
      st = False
      try:
          try:
              self._compile(
                  body % {"type": type_name}, headers, include_dirs, "c"
              )
              st = True
          except distutils.errors.CompileError:
              st = False
      finally:
          self._clean()
  
      return st
  
imports: from __future__ import division, absolute_import, print_function
  import os, signal
  import warnings
  import sys
  import subprocess
  from distutils.command.config import config
  from distutils.command.config import LANG_EXT
  from distutils import log
  from distutils.file_util import copy_file
  from distutils.ccompiler import CompileError, LinkError
  import distutils
  from numpy.distutils.exec_command import filepath_from_subprocess_output
  from numpy.distutils.mingw32ccompiler import generate_manifest
  from numpy.distutils.command.autodist import check_gcc_function_attribute, check_gcc_variable_attribute, check_inline, check_restrict, check_compiler_gcc4
  from numpy.distutils.compat import get_exception
label_desc: Use image node_id 9 for calling the config obj's underlying member method code with example usage: obj.check_type(type_name, headers, include_dirs, library_dirs) and returns: st