code: def is_link_in_dir(info, base):
      tip = resolve_path(os.path.join(base, os.path.dirname(info.name)))
      return is_path_in_dir(info.linkname, base_dir=tip)
  
imports: import hashlib
  import os
  import pathlib
  import re
  import shutil
  import tarfile
  import urllib
  import warnings
  import zipfile
  from urllib.request import urlretrieve
  from keras.api_export import keras_export
  from keras.backend import config
  from keras.utils import io_utils
  from keras.utils.module_utils import gfile
  from keras.utils.progbar import Progbar
label_desc: Use image node_id 4 for calling a global function with example usage: is_link_in_dir(info, base) and returns: is_path_in_dir