code: def check_ldd_out(lib, linked_lib, bundled_lib_names, allowed_libs):
      # Gather all libs that may be linked with 'lib' and don't need to be bundled
      # Entries from 'lib' key in allowed_libs should cover all 'lib*' libs
      # Empty key is used for all libs
      allowed_libs_to_check = []
      for k in allowed_libs.keys():
          if k in lib:
              allowed_libs_to_check += allowed_libs[k]
  
      return linked_lib in bundled_lib_names or get_list_elm_match(
          linked_lib, allowed_libs_to_check
      )
  
imports: import subprocess
  from sys import argv
label_desc: Use image node_id 2 for calling a global function with example usage: check_ldd_out(lib, linked_lib, bundled_lib_names, allowed_libs) and returns: unknown