code: def __is_within_directory(directory, target):
      abs_directory = os.path.abspath(directory)
      abs_target = os.path.abspath(target)
      prefix = os.path.commonprefix([abs_directory, abs_target])
      return prefix == abs_directory
  
imports: import json
  import os
  from flask import Response
label_desc: Use image node_id 2 for calling a global function with example usage: __is_within_directory(directory, target) and returns: unknown