code: def is_public_definition(decl):
      if not is_public(decl):
          return False
      if decl.kind is _KIND.TYPEDEF:
          return True
      elif _match.is_type_decl(decl):
          return not _match.is_forward_decl(decl)
      else:
          return not _match.is_external_reference(decl)
  
file_path: cpython/Tools/c-analyzer/c_analyzer/match.py
imports: import os.path
  from c_parser import info, match
label_desc: Use image node_id 8 for calling a global function with example usage: is_public_definition(decl) and returns: False, True, unknown, unknown