code: def CheckLib(context, library = None, symbol = "main",
               header = None, language = None, autoadd = 1):
      
  
      if library == []:
          library = [None]
  
      if not SCons.Util.is_List(library):
          library = [library]
  
      # ToDo: accept path for the library
      res = SCons.Conftest.CheckLib(context, library, symbol, header = header,
                                          language = language, autoadd = autoadd)
      context.did_show_result = 1
      return not res
docs: A test for a library. See also CheckLibWithHeader.
      Note that library may also be None to test whether the given symbol
      compiles without flags.