code: def _assert_safe(executable_path, safe):
      if safe and not _is_safe(executable_path):
          raise InvalidPythonEnvironment(
              "The python binary is potentially unsafe."
          )
  
imports: import os
  import sys
  import hashlib
  import filecmp
  from collections import namedtuple
  from jedi._compatibility import highest_pickle_protocol, which
  from jedi.cache import memoize_method, time_cache
  from jedi.evaluate.compiled.subprocess import CompiledSubprocess, EvaluatorSameProcess, EvaluatorSubprocess
  import parso
label_desc: Use image node_id 14 for calling a global function with example usage: _assert_safe(executable_path, safe) without return types