docstr: Determine if the system header file named by 'header_file'
  exists and can be found by the preprocessor; return true if so,
  false otherwise.
docstr_tok: ["Determine","if","the","system","header","file","named","by","'header_file'","exists","and","can","be","found","by","the","preprocessor",";","return","true","if","so",",","false","otherwise","."]
code: def check_header(
      self, header, include_dirs=None, library_dirs=None, lang="c"
  ):
      """Determine if the system header file named by 'header_file'
      exists and can be found by the preprocessor; return true if so,
      false otherwise.
      """
      return self.try_cpp(
          body="/* No body */",
          headers=[header],
          include_dirs=include_dirs,
      )
  
imports: import os, re
  from distutils.core import Command
  from distutils.errors import DistutilsExecError
  from distutils.sysconfig import customize_compiler
  from distutils import log
label_desc: Use image node_id 17 for calling the config obj's underlying member method code with example usage: obj.check_header(header, include_dirs, library_dirs, lang) and returns: self