code: def get_lib_layout(ns):
      def _c(f):
          if f in EXCLUDE_FROM_LIB:
              return False
          if f.is_dir():
              if f in TEST_DIRS_ONLY:
                  return ns.include_tests
              if f in TCLTK_DIRS_ONLY:
                  return ns.include_tcltk
              if f in IDLE_DIRS_ONLY:
                  return ns.include_idle
              if f in VENV_DIRS_ONLY:
                  return ns.include_venv
          else:
              if f in TCLTK_FILES_ONLY:
                  return ns.include_tcltk
          return True
  
      for dest, src in rglob(ns.source / "Lib", "**/*", _c):
          yield dest, src
  
imports: import argparse
  import os
  import shutil
  import sys
  import tempfile
  import zipfile
  from pathlib import Path
  from .support.appxmanifest import *
  from .support.catalog import *
  from .support.constants import *
  from .support.filesets import *
  from .support.logging import *
  from .support.options import *
  from .support.pip import *
  from .support.props import *
  from .support.nuspec import *
label_desc: Use image node_id 2 for calling a global function with example usage: get_lib_layout(ns) and returns: True, False, ns, ns, ns, ns, ns